$s = 241; $v = 73; @found = grep { -d $_ && m/$s\.$v_\w+/ } glob "/some/dir/*"; # DO STUFF WITH @found matches
---
echo S 1 [ Y V U | perl -ane 'print reverse map { $_ = chr(ord($_)-1) } @F;'
Warning: Any code posted by tuxz0r is untested, unless otherwise stated, and is used at your own risk.
In reply to Re: Check if dir exist using regexp
by tuxz0r
in thread Check if dir exist using regexp
by Noame
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |