[ale] Utility to word-wrap plain text?

Bob Toxen transam at verysecurelinux.com
Tue Apr 3 12:16:45 EDT 2007


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



More information about the Ale mailing list