Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-15767

findstr ignores piped text

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Selected for Development
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Applications
    • Labels:

      Description

      The findstr command ignores piped input in ReactOS 0.4.10. As a consequence command sequences like this one do not work:

      C:\> systeminfo | findstr /C:"OS Version"

      Instead of returning any lines containing the string "OS Version" to stdout as it should, the findstr command exhibits the default behavior of returning help text and exiting.

      As an aside, several documented switches are not (yet) implemented, see the findstr command reference for details: https://ss64.com/nt/findstr.html. In fact, judging by the output it looks like the findstr command is currently just an alias for for the find command in the 0.4.10 build of ReactOS.

        Attachments

        1. findstr_c.patch
          6 kB
        2. findstr_changes.txt
          1 kB
        3. findstr_OK.png
          findstr_OK.png
          82 kB
        4. findstr_Usage.png
          findstr_Usage.png
          75 kB

          Activity

            People

            • Assignee:
              bug zilla Bug Zilla
              Reporter:
              rojeff rojeff
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: