-P in grep is for using perl regex within shell grep.ls|grep -P "^.*\d{8}.*"
In reply to Re^3: Regex pattern to find directories only with digits
by gurpreetsingh13
in thread Regex pattern to find directories only with digits
by Bindo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |