Xref: utzoo comp.unix.wizards:9378 comp.unix.questions:7599 Path: utzoo!attcan!uunet!husc6!mailrus!ames!umd5!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: Tool -flag considered harmful Message-ID: <8090@brl-smoke.ARPA> Date: 15 Jun 88 02:37:48 GMT References: <7962@alice.UUCP> <4615@vdsvax.steinmetz.ge.com> <10989@cgl.ucsf.EDU> <23325@bu-cs.BU.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 12 In article <23325@bu-cs.BU.EDU> bzs@bu-cs.BU.EDU (Barry Shein) writes: >Another anti-filename:linenum argument is what if I want to limit the >output to LESS than a single line, like printing only the exact text >matched? &c. Hey, while we're at it, have an option to highlight the matched pattern(s) in STANDOUT MODE (i.e. add control characters based on getenv("TERM") or a -Tname option). You have to admit that would sometimes be useful, and it depends even more than context on what grep "has it's hands on". How far do you want to go with this?