On Mon, Sep 18, 2000 at 03:17:12PM +0100, Donncha O Caoimh wrote:
> [a tip]
another tip: the way to deal with dos eol files:
tr -d '\r' < badfile > gudfile
and if you have a directory of them just do this (assuming you're
using something sh-like, if not just type sh first):
for f in */foo/*; do
tr -d '\r' < $f > $f.tmp
mv $f.tmp $f
done
(and you can exit out of sh if you had to run it by typing exit)
kevin
--
kevin at suberic.net the only problem with being a man of leisure is
fork()'ed on 37058400 that you can never stop and take a rest.
meatspace place: home http://suberic.net/~kevin/ yank? www.votenader.com
>> want privacy? www.gnupg.org or www.pgp.com. encrypted mail preferred <<
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!