Commit Graph

15 Commits (05ba2ac9779a14bcb0c97e59f1a40856b44b4436)

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 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 2b24f6d467 archive: support for multiple-archives output 2013-11-12 16:43:52 +01:00
Pierre Neidhardt 21850855a6 Archive: support for uncompressed archive. 2013-11-04 15:44:26 +01:00
Pierre Neidhardt c934c97d13 Scripts: rewrote all "command -v" properly. 2013-10-27 19:50:23 +01:00
Pierre Neidhardt 977f0a63bb archive: fixed security issue with eval 2013-10-24 19:20:32 +02:00
Pierre Neidhardt 1b2b3c869c archive: slight refactoring 2013-10-23 10:30:51 +02:00
Pierre Neidhardt ee37e08f44 Script: update of archive and ubuilder 2013-07-10 00:21:41 +02:00
Pierre Neidhardt eec322ba2b Script: 'archive' update
Support for files as arguments.
All arguments will go directly to the archive root.
2013-07-09 19:08:46 +02:00
Pierre Neidhardt 76b5194723 Scripts: Comment in 'archive' 2013-07-09 00:28:04 +02:00
Pierre Neidhardt e8aa3eff80 Scripts: removed owner/group for 'archive' script 2013-07-09 00:23:57 +02:00
Pierre Neidhardt 7ef866344f Scripts: fixed 'archive' to work wish POSIX shells. 2013-06-18 17:13:55 +02:00
Pierre Neidhardt 9bf09bf93f Shell: minor fixes.
Package list update.
2013-03-03 11:43:03 +01: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