Sorry still not clear! (And unfortunately you didn't update your posts with code-tags either).
2 possibilities:
E.g 4 for "../../dir1/dir2/" will give you the next directory after "dir2".
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re^3: A regarding glob
by LanX
in thread Q regarding glob
by arunagiri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |