Date: Fri, 11 Nov 2011 16:08:49 +0700 (NOVT) From: Eugene Grosbein <egrosbein@rdtc.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/162468: expr(1) false syntax errors Message-ID: <201111110908.pAB98nYZ006169@eg.sd.rdtc.ru> Resent-Message-ID: <201111110910.pAB9A71n043229@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162468 >Category: bin >Synopsis: expr(1) false syntax errors >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 11 09:10:06 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 8.2-STABLE i386 >Organization: RDTC JSC >Environment: System: FreeBSD eg.sd.rdtc.ru 8.2-STABLE FreeBSD 8.2-STABLE #35: Thu Sep 29 14:35:55 NOVT 2011 root@eg.sd.rdtc.ru:/usr/local/obj/usr/local/src/sys/EG i386 >Description: The following command fails: # expr '>' : '.*' expr: syntax error It should return 1 (the length of the string '>') instead. Note that Linux's expr does right thing. >How-To-Repeat: See above. >Fix: Unknown. It seems our expr threats '>' and operator and not as operand for ':' operator. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111110908.pAB98nYZ006169>
