On Tue, Dec 25, 2007 at 10:50:11AM +0100, Loïc Minier wrote: > On Sun, Dec 23, 2007, Thomas Dickey wrote: > > At the moment, I can't think of anything except the less-elegant solution > > of inserting newlines into the text to make it wrap as expected. (It's > > less elegant since redirecting the text to a file will have the newlines, > > and also because then grep would have to know the terminal width). > > I think grep checks whether its output file descriptor is a tty to > enable escape sequences. I'll reassign to grep and suggest this; > thanks!
no problem -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
pgpah5TQFeI12.pgp
Description: PGP signature