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)?

Proxy Information
Original URL
gemini://bbs.geminispace.org/s/bash/14886
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
57.728566 milliseconds
Gemini-to-HTML Time
0.383506 milliseconds

This content has been proxied by September (3851b).