-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7477dad
commit e0cb3aa
Showing
1 changed file
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |