in reply to •Re: Re: Create a list of directories without . and ..
in thread Create a list of directories without . and ..
Sometimes a regex is overkill.
!/^\.\.?\z/.
Less readable, but faster and shorter.
- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: •Re: Re: Create a list of directories without . and ..
by merlyn (Sage) on Jun 04, 2002 at 22:30 UTC | |
by Juerd (Abbot) on Jun 04, 2002 at 22:34 UTC | |
by Abigail-II (Bishop) on Jun 05, 2002 at 10:57 UTC | |
by Juerd (Abbot) on Jun 05, 2002 at 11:19 UTC |