Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.sbin/postinstall



* On 2009-02-26 at 21:41 GMT, Christos Zoulas wrote:

> In article <20090226205144.GC5639%apb-laptoy.apb.alt.za@localhost> Alan 
> Barrett  <apb%cequrux.com@localhost> wrote:
>
> > On Thu, 26 Feb 2009, Christos Zoulas wrote:
> >
> > > > "grep -q" is not portable; use "grep >/dev/null" instead.  Also add a
> > > > comment saying that postinstal is invoked during a cross build.
> > > 
> > > I beg to differ, which grep does not have -q? If so it is not POSIX
> > > compliant.
> >
> > Solaris.
> 
> Even the xpg4 version?

It does, but then you have to add faff to the script to find the right
grep.

-- 
Jonathan Perkin                                     The NetBSD Project
http://www.perkin.org.uk/                       http://www.netbsd.org/


Home | Main Index | Thread Index | Old Index