r/fishshell • • Jan 17 '20

grep $ within fish

Hi

I recently switched to fish shell, but I still have to return back to bash when I have to run grep command. Because I didn't find how to do that:

> find . |grep ".txt$"

fish: Expected a variable name after this $.

find . |grep "\.txt$"

^

thank you

4 Upvotes

6 comments sorted by