On Sun, 2007-07-15 at 14:29 -0500, Ron Johnson wrote: > On 07/15/07 13:40, BartlebyScrivener wrote: > > I'm playing with recursive grep. Still fairly new to Etch. > > > > When I grep text files and get a dozen or so results, they print to > > the screen as a dense block of text. I found the color option, which > > helps, but is there a way to separate each result with a blank line, > > or highlight the file name or something? > > > > I know some Python if I have to pipe it to a Python script. But I'm > > thinking there's some easy pipe I could using just bash and Linux > > commands, as this must be a common probelm. > > Any piping will eliminate the color. That's what happens, at least, > with ls. ls --color=auto (usually ls is an alias for this) doesn't output colour when not printing to a TTY to make processing easier and behave like everyone has expected for decades. Pipes and colours don't theoretically conflict. [ron, sorry for the first msg]
Attachment:
signature.asc
Description: This is a digitally signed message part