Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4273

Add -o (--only-matching) option to grep command

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.4
    • Fix Version/s: 4.1.0
    • Component/s: karaf
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                roland.hauser@bechtle.ch Roland Hauser
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: