Я практикую a find
команде и момент, и любопытно на предмет использования регулярных выражений в find
команда (подобный grep
). Команда поддерживает его? Если так, что опции состоят в том, чтобы включить ему?
Я пытался искать его в man
страницы, но были неудачны до сих пор.
От man find:
-regex pattern
File name matches regular expression pattern. This is a match
on the whole path, not a search. For example, to match a file
named `./fubar3', you can use the regular expression `.*bar.' or
`.*b.*3', but not `f.*r3'. The regular expressions understood
by find are by default Emacs Regular Expressions, but this can
be changed with the -regextype option.