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
fbe8edddc6
Scripts: fixed realpath usage
2013-12-27 11:17:55 +01:00
Pierre Neidhardt
c934c97d13
Scripts: rewrote all "command -v" properly.
2013-10-27 19:50:23 +01:00
Pierre Neidhardt
c3852172fb
scripts: protected all "while read" with IFS=.
...
By default "while read" will strip white space. Setting the IFS makes sure it does not.
2013-10-23 17:44:23 +02:00
Pierre Neidhardt
6455544fb5
extract: support for 7z password protected files.
...
As such, pp7z was removed.
2013-10-23 14:03:42 +02:00
Pierre Neidhardt
d11749c28c
extract: comments
2013-10-23 10:47:37 +02:00
Pierre Neidhardt
ea81531077
Shell/Scripts: moved all useful functions (for whom it makes sense to call them
...
from Emacs or Ranger) to separate scripts.
2013-03-03 11:19:50 +01:00