bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: fold(1) needs and option to truncate


From: Dan Jacobson
Subject: Re: fold(1) needs and option to truncate
Date: 08 Jun 2002 08:41:18 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

>> fold(1) needs and option not to fold, but to truncate. e.g.

Paul> No, it doesn't.  Here's why:

>> fold -t would be the same as cut -c 1-80
>> fold -t -w 99 would be the same as cut -c 1-99

Muhahahaha, you fell into my trap.  Fold does simple stuff that can be
done by one liners of other programs.  I found another highly related
fold-like thing for it to do, and also simpler than any other one
liner.  Therefore you must admit that not adding my feature is not
because it is especially bad, but say because these days you don't
want to add any more features.

When lines are too long and are messing up my screen or printer, I think of
fold.  If the ends of the lines are worth looking at, I would use
fold.  If not I would use fold -t.
-- 
http://jidanni.org/ Taiwan(04)25854780



reply via email to

[Prev in Thread] Current Thread [Next in Thread]