Commit Graph

5 Commits (05d27653422f9c890df86b66fe3554e9fa4fd952)

Author SHA1 Message Date
Pierre Neidhardt dec80c219f Scripts: Various fixes 2014-08-19 11:06:03 +02:00
Pierre Neidhardt 19c09febec Scripts: replaced 'sed -i' with 'ex -sc'
Ex is the right way to edit files (sed is a stream editor). Besides 'sed -i' is
not POSIX.  However ex cannot edit multiple files in one call, thus leading to a
great performance loss when called over a bunch of files. In that case, 'sed -i'
may be a better idea.
2014-01-06 17:32:13 +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 524aaf9042 Shell/Scripts: moved transcoding functions to separate scripts.
Shell: included FreeBSD and Pacman aliases in main alias file.
2013-03-03 00:01:20 +01:00