Date: Tue, 7 Dec 1999 19:48:08 +0600 (NS) From: Max Khon <fjoe@iclub.nsu.ru> To: Sheldon Hearn <sheldonh@uunet.co.za> Cc: current@FreeBSD.ORG Subject: Re: grep -a (-stable) Message-ID: <Pine.BSF.4.21.9912071942130.76208-100000@iclub.nsu.ru> In-Reply-To: <71749.944573815@axl.noc.iafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, there! On Tue, 7 Dec 1999, Sheldon Hearn wrote: > > it is not possible to make short equivalent for old grep -a option > > (as in grep 2.3 -a is used for other purposes). > > Que? I've used grep -a since the update to grep 2.3 and haven't > noticed any strange behaviour from the -a option. > > You wanna explain what's going on? -stable grep (2.0 + FreeBSD-specific features) uses -a to skip binary files at all. Very useful in such context as: vi `grep -aRl foo .` in -current both 'grep -al' and 'grep -l' print names of binary files and there is no way to tell grep to skip them /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.9912071942130.76208-100000>