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: Andrew D Jewell
Subject: Re: fold(1) needs and option to truncate
Date: Sat, 8 Jun 2002 12:24:01 -0400

Just for fun, I added -t, --truncate to the fold at

http://alexautils.sourceforge.net

enjoy,
adj

At 8:41 AM +0800 6/8/02, Dan Jacobson wrote:
 >> 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

_______________________________________________
Bug-gnu-utils mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-gnu-utils




reply via email to

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