Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unix2dos on aix

Status
Not open for further replies.

7280

MIS
Apr 29, 2003
331
IT
Hi,
is there a command like linux's unix2dos for aix?
It has to be installed on a production system so I need "something" aix certified.
I'm using aix 5.2.
Thanks
 
You could use sed (from Korn shell):
sed -e 's/$/'$(print "\015\c")'/' <infile >outfile
or maybe awk:
awk '{printf("%s\015\n", $0)}' <infile >outfile
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top