Message5611

Author rshaffer@vmware.com
Recipients rshaffer@vmware.com
Date 2010-03-31.18:29:21
SpamBayes Score 3.65945e-06
Marked as misclassified No
Message-id <1270060162.5.0.72366522178.issue1588@psf.upfronthosting.co.za>
In-reply-to
Content
In the Linux jython script (under src/shell/jython in SVN), line 32 uses this command:

    if expr "$link" : '^/' > /dev/null; then

The '^' here is redundant, because expr implicitly matches from the beginning of the string. On some systems, like my RHEL 5.4 system, this produces a warning on the command line:

[rshaffer@rshaffer-dev1 ~]$ jython
expr: warning: unportable BRE: `^/': using `^' as the first character
of the basic regular expression is not portable; it is being ignored

It doesn't hurt anything, but the warning is ugly, and it's easy to fix. Simply remove the '^' character from the regex.

-Richard
History
Date User Action Args
2010-03-31 18:29:22rshaffer@vmware.comsetrecipients: + rshaffer@vmware.com
2010-03-31 18:29:22rshaffer@vmware.comsetmessageid: <1270060162.5.0.72366522178.issue1588@psf.upfronthosting.co.za>
2010-03-31 18:29:22rshaffer@vmware.comlinkissue1588 messages
2010-03-31 18:29:21rshaffer@vmware.comcreate