You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Roland Hauser (JIRA)" <ji...@apache.org> on 2016/01/15 15:31:39 UTC

[jira] [Created] (KARAF-4273) Add -o (--only-matching) option to grep command

Roland Hauser created KARAF-4273:
------------------------------------

             Summary: Add -o (--only-matching) option to grep command
                 Key: KARAF-4273
                 URL: https://issues.apache.org/jira/browse/KARAF-4273
             Project: Karaf
          Issue Type: Improvement
          Components: karaf-shell
    Affects Versions: 4.0.4
            Reporter: Roland Hauser


It would be helpful for scripting if the built-in grep command had an -o option like the Unix counterpart. The -o option should cause grep to print only the matching section of a line, not the whole line itself.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)