* Re: broken symlink stuff
@ 1998-01-23 18:05 Niall Smart
1998-01-23 21:31 ` Thomas Köhler
0 siblings, 1 reply; 2+ messages in thread
From: Niall Smart @ 1998-01-23 18:05 UTC (permalink / raw)
To: zsh-users
find `pwd` -type l -follow 2>&1 >/dev/null | sed 's/.*link \(.*\): No such.*/\1/'
niall
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: broken symlink stuff
1998-01-23 18:05 broken symlink stuff Niall Smart
@ 1998-01-23 21:31 ` Thomas Köhler
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Köhler @ 1998-01-23 21:31 UTC (permalink / raw)
To: zsh-users
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@picard.franken.de
<>< jean-luc@mayn.de
IRC: jeanluc Channels: #star_trek #linuxger #ixthys #knf
WWW: http://home.pages.de/~jeanluc/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-01-24 9:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-23 18:05 broken symlink stuff Niall Smart
1998-01-23 21:31 ` Thomas Köhler
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).