on-internet
← Community

How to match operator-characters in filesets

Stack Overflow ·

I can't find any way to get e.g. glob filesets to match any of the characters that are fileset operators (|*~). What I've tried (all characters are properly escaped for the shell, so these are the characters that actually make it to argv[] for the jj executable): Backslash escapes Double Quotes Single Quotes Putting the operator inside a glob character class (e.g. [|])

Comments

Sign in or sign up to comment and upvote.

No comments yet.