[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Utility to word-wrap plain text?



echo $VARIABLE | fmt

The fmt command "man 1 fmt" does both wrapping and filling.  If you
format text indented with tabs and/or spaces, it preserves that
indentation.

Bob Toxen
bob at verysecurelinux.com               [Please use for email to me]
http://www.verysecurelinux.com        [Network&Linux/Unix security consulting]
http://www.realworldlinuxsecurity.com [My book:"Real World Linux Security 2/e"]
Quality Linux & UNIX security and SysAdmin & software consulting since 1990.

"Microsoft: Unsafe at any clock speed!"
   -- Bob Toxen 10/03/2002