Skip to content

Commit

Permalink
Update PFGREP.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschoen authored Dec 17, 2024
1 parent 7477dad commit e0cb3aa
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions samples/PFGREP.MD
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# PFGREP Command Usage Samples
THe PFGREP command runs the pfgrep PASE utility under the covers using the QSHBASH command from QShell on i.

Simon Hutchinsone Grep Article
https://www.rpgpgm.com/2023/12/using-qshell-to-search-source-members.html

#### Example to scan QCLSRC in library QGPL for the word: sbs
PFGREP CMDARGS('-i -n "sbs" /QSYS.LIB/QGPL.LIB/QCLSRC.FILE/*.MBR') DSPSTDOUT(*YES)

#### Example to scan QCLSRC in library QGPL for the word sbs
PFGREP CMDARGS('-i -n "sbs" /QSYS.LIB/QGPL.LIB/QCLSRC.FILE/*') DSPSTDOUT(*YES)

#### Example to scan QCLSRC in library QGPL for the word sbs
PFGREP CMDARGS('-i -n "sbs" /QSYS.LIB/QGPL.LIB/QCLSRC.FILE/*') DSPSTDOUT(*YES)
#### Example to scan all Q* files in library QGPL for the word: sbs
PFGREP CMDARGS('-i -n "sbs" /QSYS.LIB/QGPL.LIB/Q*.FILE/*.MBR') DSPSTDOUT(*YES)

0 comments on commit e0cb3aa

Please sign in to comment.