Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

killall(1)

Name: Anonymous 2008-05-25 14:07

I think this command needs to support a -Q switch that does the following:

- Outputs nothing if no processes were killed (like -q)
- Returns exit code 0 if no processes were killed (unlike -q)

Good with you all?

Name: Anonymous 2008-05-25 23:57

Only thing is, shell scripts consider return code 0 successful and anything nonzero as a failure.

That if you use "boolean chains", which is purely sintactic sugar. Do you think that breaking portability and patching/recompiling one of the coreutils is better than adding two lines to your script?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List