sto leggendo la pagina man GNU find
s' e inciampare su questo interruttore:Le differenze tra i tipi di espressioni regolari
-regextype type
Changes the regular expression syntax understood by -regex and
-iregex tests which occur later on the command line. Currently-
implemented types are emacs (this is the default), posix-awk, posix-
basic, posix-egrep and posix-extended.
Qual è la differenza tra questi sintassi regex? Ho più familiarità con la regex di Ruby, quindi quale tipo di regex dovrei usare con find
?
Dai un'occhiata qui: http://www.regular-expressions.info/refflavors.html – fge
Hmm, grazie, ho trovato questo URL: http://www.gnu.org/software/findutils/manual/html_node/ find_html/Regular-Expressions.html che praticamente risponde alla mia prima domanda. – Lamnk