Thanks, Gord
If it does all you need to do is use sed
sed "s/^M$//" infile > outfile
and use CTRL-V CTRL-M keypresses to generate the ^M
Brock Henry
Regards,
Paul
or a tr equivalent:
tr -d "\015\032" < inputfile > outputfile
I whipped up a three line sh script with that and named it 'convert-crlf',
dumped it on shell nodes for any shell users who needed it for the occasional
file conversion. Works great.
-Dan
Try TOFRODOS from Christopher Heng :
http://www.thefreecountry.com/
and search on the site for TOFRODOS.
Uses gcc and the gnu make to build it.
Installs in /usr/local/bin and has a manpage.
Regards,
Jonathan
If you really need the dos2unix utility install the "AIX Access for
DOS Users" filesets. I think they are still included on the version
4.3.3 install media but am not sure.
--
Regards,
Jerry M.
Seen on a Tee Shirt, "Never GREP a YACC by the INODE".