[Bug 7472] New: grep with conjunction to ps does not give any output

bugzilla at busybox.net bugzilla at busybox.net
Fri Sep 26 12:34:14 UTC 2014


https://bugs.busybox.net/show_bug.cgi?id=7472

           Summary: grep with conjunction to ps does not give any output
           Product: Busybox
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: ondrej.bartos at gmail.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


ps needs to be used with ps -w argument to be able to work with GREP or
multiple GREPs

1. ps | grep xxx | grep -q yyyy > testfile.txt; Writes nothing to file
2. ps -w | grep xxx | grep -q yyyy > testfile.txt; Writes expected output to
file

I do see empty file instead expected output if -w argument is NOT used

Platform: Linux asus 2.6.22.19 #2
BusyBox v1.22.1 (2014-05-29 02:51:54 MSK) multi-call binary.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list