File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ export namespace Search {
35
35
if ( pfgrep ) {
36
36
// pfgrep vs. qshell grep difference: uses -r for recursion instead of -R
37
37
// (GNU/BSD grep treat them the same); we don't use recursion yet though...
38
- // another difference: use -t to trim ending whitespace (pfgrep leaves intact)
39
- const command = `${ pfgrep } -inHrt -F "${ sanitizeSearchTerm ( searchTerm ) } " ${ memberFilter } ` ;
38
+ // older versions before 0.4 need -t to trim whitespace, 0.4 inverts the flag
39
+ const command = `${ pfgrep } -inHr -F "${ sanitizeSearchTerm ( searchTerm ) } " ${ memberFilter } ` ;
40
40
result = await connection . sendCommand ( {
41
41
command : command ,
42
42
directory : connection . sysNameInAmerican ( `${ asp ? `/${ asp } ` : `` } /QSYS.LIB/${ library } .LIB/${ sourceFile } .FILE` )
You can’t perform that action at this time.
0 commit comments