About grep --exclude

Colud this grep option be problematic?

--exclude=*{.bak,_bkp}

I'd seen more expressions like:

--exclude=*.{bak,bkp}

But they doesn't cover the "file.txt_bkp" posibility.

#grep

Posted in: s/bash

☯️ leoperbo

2024-02-11 · 1 year ago

1 Comment

👾 ed · 2024-02-13 at 11:08:

does this work like v/V in ed(1)?


Source