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

Use ffind with regular expressions against a text file

$
0
0
I have a file that I generate everyday called holdings.txt

Each line in the file begins with a stock ticker.

The stock ticker is seven characters in length.

The stock ticker is right-aligned,
so the beginning of each stock ticker contains spaces.

Using ffind with regular expressions allows me to filter the desired stock tickers.

When I want to view the grocery stocks in holdings.txt,
I run the following;

Code:
type r:\holdings.txt | ffind /kvm /e"^( {6}L| {2}EMP.A|...

Read more

Viewing all articles
Browse latest Browse all 2209

Latest Images

Trending Articles



Latest Images