News for hackers. Stuff that matters.
Re:Shell Script Best Practices, from a decade of scripting t... by maximus-decimus on Thursday October 27, 2022 @10:59AM (#33358536)
How do you use dmenu for your shell script? to launch it? to prompt the user for input while it's running?

Do you have an example of a script you wrote?

Re:Shell Script Best Practices, from a decade of scripting t... by ducktective on Thursday October 27, 2022 @11:29AM (#33359061)
Yes, for creating ad-hoc mini-UIs so the user can select an option. Same with fzf, but it's terminal-bound (rather than X-bound).

The scripts are similar to this one:

https://github.com/debxp/dmenu-scripts/blob/master/dmenu-kil...

Re:Shell Script Best Practices, from a decade of scripting t... by maximus-decimus on Thursday October 27, 2022 @10:32PM (#33366876)
Thanks, I will definitively use that kill one.
Re:Shell Script Best Practices, from a decade of scripting t... by sargstuff on Friday October 28, 2022 @11:34AM (#33372751)
WASM gawk with html as user input/output more flexible.