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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.4
    • 4.1.0
    • karaf
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: