Re: ls | grep
Hallo Al,
On Sat, Jan 07, 2006 at 02:50:09PM +0100, Al Bogner wrote:
> find -maxdepth 1 -type d ! -regex ".*[_cd|_ef]$" -printf "%f\n"
> .
> a_1
> a_2
> a
> a_kb
>
>
> Es bleibt also der Punkt. Kann man den ohne weitere Pipe entfernen?
$ find -maxdepth 1 -type d ! -regex ".*_\(cd\|ef\)$" ! -name "." -printf "%f\n"
> Al
Gruß,
f
--
Gravity is a myth, the Earth sucks.
Reply to:
- References:
- ls | grep
- From: Al Bogner <debian@ml05a.pinguin.uni.cc>
- Re: ls | grep
- From: Daniel Leidert <daniel.leidert.spam@gmx.net>
- Re: ls | grep
- From: Al Bogner <debian@ml05a.pinguin.uni.cc>
- Re: ls | grep
- From: Al Bogner <debian@ml05a.pinguin.uni.cc>