[illumos-Developer] webrev: 650 grep support for -q would be useful

Alan Coopersmith alan.coopersmith at oracle.com
Mon May 2 11:03:18 PDT 2011


On 05/ 2/11 07:25 AM, Yuri Pankov wrote:
> Hi,
> 
> This webrev handles quite more than just adding '-q' support - it
> actually removes cmd/egrep, cmd/fgrep, cmd/grep and makes grep_xpg4 the
> default one. The reason for this is that egrep, fgrep and grep are all
> different source (and quite weird one, in case of egrep) and grep_xpg4
> provides all the functionality plus other options (such as '-q').

I don't know if there's any real functional change, but you should note that
/usr/bin/*grep supported regexp(5) patterns, while /usr/xpg4/bin/*grep uses
the regex(5) versions instead.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System




More information about the Developer mailing list