Follow-up Comment #4, bug #60383 (project findutils):

Ok now that discussion is off-topic, actually, but regarding this:

[comment #3 comment #3:]
> We cannot use //x as a way to escape x, because in POSIX path names matching
//[^/] are `special` and have an implementation-defined significance, which
`find` cannot know (find is intended to run also on non-GNU systems).

Interesting. I didn't know about that. But still, no show stopper in my
estimation.

Another alternative would be prefixing it with a currenlty unused
option/switch, e.g. "-e" like grep does for regular expressions starting with
a dash, or bash's "echo" builtin command has with it's "-E" flag.

$ find -e -evil -e -pathnames -e -dont -e -scare -e -me -ls

and ...

$ find -e -e -ls


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60383>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to