Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1777

"grep" using only internals

$
0
0
In another thread I mentioned

Code:
d:\data\tcclibrary> alias mygrep
ffind /v /k /m /e%1

for finding strings matching a regex in a file or a pipe. It's pretty fast; it lacks the ability to invert the search (return lines that don't match); and you can only specify case-insensitivity in the regex itself (with (?i)).

Here's another (source far below), TGREP, which uses TPIPE. It's written as a library function but could could be used as a BTM after commenting/removing the first and last...

Read more

Viewing all articles
Browse latest Browse all 1777

Trending Articles