Commit Graph

4 Commits (ad7fcb0bf825f42eb7496e8d00831493ede234f6)

Author SHA1 Message Date
Pierre Neidhardt c55236c71d Scripts: removed bashism from getops and secured cd with --. 2014-02-10 15:05:27 +01:00
Pierre Neidhardt c6bfd146d7 Scripts: removed useless functions in stdin/files scripts 2014-01-06 11:24:43 +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 8124a519e0 scripts: moved cloncd from shell functions 2013-11-14 18:11:48 +01:00