Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: broken symlink stuff
- X-seq: zsh-users 1272
- From: Thomas Köhler <jean-luc@xxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: broken symlink stuff
- Date: Fri, 23 Jan 1998 22:31:42 +0100
- In-reply-to: <E0xvnTc-00055d-00@xxxxxxxxxxxxxxxxxx>; from Niall Smart on Fri, Jan 23, 1998 at 06:05:11PM +0000
- References: <E0xvnTc-00055d-00@xxxxxxxxxxxxxxxxxx>
On Jan 23, Niall Smart wrote
>
> find `pwd` -type l -follow 2>&1 >/dev/null | sed 's/.*link \(.*\): No such.*/\1/'
This can be done easier:
find `pwd` -type l -follow 2>>(sed 's/.*link \(.*\): No such.*/\1/')
No need for redirecting stdin to /dev/null ;-)
> niall
Thomas
--
-- Thomas Köhler Email: jean-luc@xxxxxxxxxxxxxxxxx
<>< jean-luc@xxxxxxx
IRC: jeanluc Channels: #star_trek #linuxger #ixthys #knf
WWW: http://home.pages.de/~jeanluc/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author