ITEM: AH2923L
converting text files between dos and AXI/unix
Question:
chrconv cmd /what is it
Response:
Response:
Env:
Either 320 or 360 at 3.2.5
Desc:
Customer was looking for a conversion routine that would
strip carriage returns from dos files for use on AIX.
Action:
Determined that the following scrips would provide the
needed function.
Dos to Unix(AIX):
sed 's/\^M//' dosfile > aixfile
For use in the opposite direction (adding the cr),
Unix(AIX) to Dos:
sed 's/$/\^M/' aixfile > dosfile
In both cases above it requires that a control character
be placed in the string. To do this in vi use cntrl-V followed
by cntrl-M to insert the cntrl-M.
Gave this to the customer.
Next Action:
Closing call.
Test Case:
na
Support Line: converting text files between dos and AXI/unix ITEM: AH2923L
Dated: April 1996 Category: N/A
This HTML file was generated 99/06/24~13:30:27
Comments or suggestions?
Contact us