in reply to Break continuous lines of a text file based on character lengths
perl -pi.bak -e 'BEGIN{$/=\104;}$_ .= qq/\n/;' filename.txt
HTH
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re(2): Break continuous lines of a text file based on character lengths
by bart (Canon) on Apr 20, 2004 at 15:36 UTC | |
by davido (Cardinal) on Apr 20, 2004 at 16:02 UTC | |
by tariqahsan (Beadle) on Apr 20, 2004 at 15:40 UTC |