in reply to Re^2: working with directories
in thread working with directories
Dot has a special meaning in regular expressions. To match a literl dot, use /\./.
Also, you should use -d to test whether something is a directory - directory names with extensions are also valid.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: working with directories
by madM (Beadle) on Sep 14, 2013 at 11:27 UTC | |
by choroba (Cardinal) on Sep 14, 2013 at 16:23 UTC |