5

Formatting File having big single line into 95 Char Per Line

view full story
linux-howto

http://www.unix.com – Hi All, I have 4 big files which contains one big line containing formatted character records, I need to format each file in such way that each File will have 95 Characters per line. Last line of each file will have newline character at end. Before:- File Name:- File1.dat Code: 102 121340560 1210001341210300400A094101ABCDEFG ABCDEFGH SEDABCD ABCDIFARION RFTPERSR        1234ABCDCARPABCDEF                  0366130207ASDFGYHUIO11011212110130610710034042404246222910750809020101142      0000026950329075001&nbs (HowTos)