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:[EMAIL PROTECTED]     OpenAvenue ( http://OpenAvenue.com )
--
170. If you try to fail, and succeed, which have you done?




_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs

Reply via email to