>>>>> "Jim" == Jim Meyering <[EMAIL PROTECTED]> writes:

Jim> Dan Jacobson <[EMAIL PROTECTED]> wrote:
>> fold -s leaves shameful wasted blanks at end of lines:
Jim> ...
>> Therefore there needs to be another switch to do away with them.

Jim> Yes.  It looks like POSIX requires that.

Jim>   # printf 'a b\n'|fold -w2 -s|cat -A
Jim>   a $
Jim>   b$

Jim> How about piping the result through a filter like this?

Jim>   perl -pe 's/[ \t]+$//'

OK, warn people thusly on the man page and I'll let you off the hook.


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to