Commit Graph

5 Commits (84af45d230dfeebabad60fc451431050b08679bd)

Author SHA1 Message Date
Pierre Neidhardt 0943eb9115 scripts: Overhaul (syntax, exit code, help to stderr, errors, -- arg) 2016-10-13 16:53:30 +05:30
Pierre Neidhardt 9857145fb1 scripts: Reformat with tabs and more consistent style 2014-11-12 16:15:39 +01:00
Pierre Neidhardt 474b5afe18 Scripts: minor fixes for net* scripts 2014-01-04 14:45:55 +01:00
Pierre Neidhardt 9233dad745 Script+Shell: fixed and standardize PATH checking
We redirect stderr to NULL since POSIX says it may be used (no modern shell
seems to be using it).

If more than 1 program is checked for availability, we use a function.

Emacs snippet make it uniform.

Error message is output on stderr and is always the same.
2014-01-03 19:13:07 +01:00
Pierre Neidhardt 1313a4d1a4 scripts: moved netmap from shell function 2013-11-14 17:03:29 +01:00