Regex dans le script shell
# command Specific
$ ls *
$ cp [a-z]* dest_dir/
$ cp [!a-z]* dest_dir/
# Grep
$ grep '^[h-k]' log.txt
$ grep e$ log.txt #line end with 'e'
$ grep ^http log.txt #line begin with http
Vel