cat pippo.txt | fold -sw 72 | mail -s "This email contains bash-wrapped text" foo@bar.net fold is a coreutils utility to wrap pipelined text. -s breaks lines without breaking words. |
how-to_ >
how-to_ >
Wrap text lines (text formatting for bash emails)posted Feb 1, 2011, 12:46 AM by Daniele Albrizio
|