Linux Today: Linux News On Internet Time.

More on LinuxToday

Wrap text using linux fold

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

WEBINAR: On-demand webcast

How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >

[ 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: