We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaf5d12 commit aa55638Copy full SHA for aa55638
src/api/Search.ts
@@ -35,8 +35,8 @@ export namespace Search {
35
if (pfgrep) {
36
// pfgrep vs. qshell grep difference: uses -r for recursion instead of -R
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}`;
+ // older versions before 0.4 need -t to trim whitespace, 0.4 inverts the flag
+ const command = `${pfgrep} -inHr -F "${sanitizeSearchTerm(searchTerm)}" ${memberFilter}`;
40
result = await connection.sendCommand({
41
command: command,
42
directory: connection.sysNameInAmerican(`${asp ? `/${asp}` : ``}/QSYS.LIB/${library}.LIB/${sourceFile}.FILE`)
0 commit comments