Thursday, July 07, 2011

FOLDING IN LINUX

Fold Long Line files to Finite Width output device 
files.

Ex: fold -b < long_line_file >folded_file

Now the folded_file will  contain output with newlines 
inserted after maximum bytes specified.  This will be 
useful when editing special files. You can do the reverse 
using "expand" command.

1 comment:

lakshmi said...

Good article
Apponix Technologies
https://www.apponix.com