[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs-1.11 make check fails
From: |
Derek R. Price |
Subject: |
Re: cvs-1.11 make check fails |
Date: |
Thu, 18 Jan 2001 13:42:35 -0500 |
Larry Jones wrote:
> Lars Hecking writes:
> >
> > make check fails if the first id command in $PATH is not GNU id
> > (or any id that understands -u).
>
>> id | sed 's/^uid=\([^(]*\)(.*$/\1/'
>>
> I believe that's fixed in the current development version.
No it isn't. It just errors out if it can't find an id it thinks is GNU.
Anyone know why the above sed command wouldn't be portable? And the
associated one:
username=`id | sed 's/^uid=[0-9]*(\([^)]*\)).*$/\1/'`
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:dprice@openavenue.com OpenAvenue ( http://OpenAvenue.com )
--
170. If you try to fail, and succeed, which have you done?