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)