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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need 94 characters per line 1

Status
Not open for further replies.

ramkii

Programmer
Oct 22, 2001
2
US
Hello All,

I have a file which has a single contiguous record of more than 5000 characters.
I need to split this record into 94 characters per line.

I am unable to use AWK as it has the limitation of 3000 bytes.

Can anyone help ?

Thanks.
Ramki
 
use

fold -94 file > newfile

Hope this helps.
CaKiwi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top