activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dejan Bosanac (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-2898) grep option is not POSIX compliant
Date Tue, 07 Sep 2010 08:57:43 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dejan Bosanac resolved AMQ-2898.
--------------------------------

         Assignee: Dejan Bosanac
    Fix Version/s: 5.4.1
       Resolution: Fixed

Fixed with svn revision 993286. Thanks.

Using stdout redirection to /dev/null instead of -q seems to be the easiest solution

> grep option is not POSIX compliant
> ----------------------------------
>
>                 Key: AMQ-2898
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2898
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.4.0
>         Environment: SunOS 5.10 Generic_142901-06 i86pc i386 i86pc
> PATH=/usr/sfw/bin:/usr/ccs/bin:/usr/local/bin:/usr/postgres/8.3/bin/64:/usr/apache2/bin/:/usr/bin
>            Reporter: Mateusz Pawlowski
>            Assignee: Dejan Bosanac
>             Fix For: 5.4.1
>
>
> in the bin/activemq script use of -q option on standard grep is not working :
> $./activemq status
> grep: illegal option -- q
> Usage: grep -hblcnsviw pattern file . . .
> ERROR: There are syntax errors in '/etc/default/activemq'
> after changing script to use ggrep which is the GNU grep in Solaris script no longer
reported this issue
> there can be 2 solutions:
> use of POSIX compliant grep options or
> detection of grep version and trying to use ggrep 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message