Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!pasteur!ucbvax!decvax!gsg!lew From: lew@gsg.UUCP (Paul Lew) Newsgroups: comp.unix.wizards Subject: Re: folding arguments Message-ID: <125@gsg.UUCP> Date: 17 Feb 88 05:17:55 GMT Reply-To: lew@gsg.UUCP (Paul Lew) Organization: General Systems Group, Salem, NH Lines: 15 > % find $DIR -print | fmt | sed 's/^/cmd /' | sh > > It is a pity that fmt is hardwired with a line size of 72 columns. I was very surprised when dmcanzi@watdcsu.waterloo.edu (David Canzi) pointed out you can specify a width to fmt: % find $DIR -print | fmt -1000 | sed 's/^/cmd /' | sh ^^^^^ I checked with man pages for fmt over and over, guess what? Another undocumented feature! I think you can only learn thing like this by reading network news besides look into the source code. -- Paul Lew {oliveb,harvard,decvax}!gsg!lew (UUCP) General Systems Group, 5 Manor Parkway, Salem, NH 03079 (603) 893-1000