Xref: utzoo comp.unix.wizards:9572 comp.unix.questions:7731 Path: utzoo!attcan!uunet!husc6!bloom-beacon!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP (der Mouse) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: Tool -flag considered harmful Message-ID: <1179@mcgill-vision.UUCP> Date: 22 Jun 88 18:07:31 GMT References: <7962@alice.UUCP> <4615@vdsvax.steinmetz.ge.com> <10989@cgl.ucsf.EDU> <8090@brl-smoke.ARPA> Organization: McGill University, Montreal Lines: 17 In article <8090@brl-smoke.ARPA>, gwyn@brl-smoke.ARPA (Doug Gwyn ) writes: > 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). To take this in an entirely different way from what you intended.... I have a program which is like cat except that certain strings (specified on the command line) get replaced with underscore-backspace-character sequences. If the standard output is a tty, it automagically pipes its output through ul to make it come out in the appropriate standout mode for the terminal. der Mouse uucp: mouse@mcgill-vision.uucp arpa: mouse@larry.mcrcim.mcgill.edu