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;
Read more
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










