Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
python-3.7
/
usr
/
lib
/
python3.7
/
test
/
subprocessdata
/
//proc/thread-self/root/opt/python-3.7/usr/lib/python3.7/test/subprocessdata/qgrep.py
"""When called with a single argument, simulated fgrep with a single argument and no options.""" import sys if __name__ == "__main__": pattern = sys.argv[1] for line in sys.stdin: if pattern in line: sys.stdout.write(line)