Linux Today: Linux News On Internet Time.

Wrap text using linux fold

Feb 13, 2009, 19:01 (1 Talkback[s])

[ Thanks to Jadu Saikia for this link. ]

"If width is not specified using -w option, by default, 'fold' breaks lines wider than 80 columns. The output is split into as many lines as necessary.

"Lets have one example to see how fold can be useful in breaking long lines in a file.

"Print the alphabets from A-Z"

Complete Story

Related Stories: