fold (break lines at a specified column)

team bbl


Breaks the lines in a file so that they don't continue past a certain column. The default width is 80.

 Format:    fold filelist Examples:  fold file1 file3 

Breaks any lines longer than 80 columns at 80, moving the remaining columns to a new line.

Opt

What It Does

Example

-b

Use bytes to decide where to break lines

fold -b report3

-s

Break at spaces, not in middle of word

fold -s reportX

-w n

Set width to n, rather than 80

fold -w 70 reportY


    team bbl



    Spring Into Linux
    Spring Into Linux
    ISBN: 0131853546
    EAN: 2147483647
    Year: 2005
    Pages: 362
    Authors: Janet Valade

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net