Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2025

grep -v doesn't filter linefeed on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • karaf-1.2.0
    • karaf-1.4.0
    • Karaf
    • None

    Description

      On Windows, the inputstream piped from one action to the net contains \r\n line endings. Grep iterates lines for matching and inputstream doesn't filter those so an inverted match with -v shows extra lines (the single \n).

      Attachments

        Activity

          People

            ccustine Chris Custine
            ccustine Chris Custine
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: