Dear Sirs,

Regexp seems to be broken.

>[EMAIL PROTECTED]:~ # set -x ; IPP="ipsec0=eth0" virt=`expr $IPP : 
>'\([^=].*\)=.*'` && echo $virt ; set +x
>+ IPP=ipsec0=eth0
>++ expr ipsec0=eth0 : '\([^=].*\)=.*'
>+ virt=
>+ set +x


>[EMAIL PROTECTED]:~ # expr --version
>expr (GNU coreutils) 5.93
>Copyright (C) 2005 Free Software Foundation, Inc.
>This is free software.  You may redistribute copies of it under the terms of
>the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
>There is NO WARRANTY, to the extent permitted by law.
>
>Written by Mike Parker.

In the 5.2.1

> [EMAIL PROTECTED]:~ # set -x ; IPP="ipsec0=eth0" virt=`expr $IPP : 
> '\([^=]*\)=.*'` && echo $virt ; set +x
> + IPP=ipsec0=eth0
> ++ expr ipsec0=eth0 : '\([^=]*\)=.*'
> + virt=ipsec0
> + echo ipsec0
> ipsec0
> + set +x

> [EMAIL PROTECTED]:~ # expr --version
> expr (GNU coreutils) 5.2.1
> Written by Mike Parker.
> 
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


-- 
Best regards,
 Serge                          mailto:[EMAIL PROTECTED]



_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to