From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 167 invoked from network); 23 Jan 1998 15:49:50 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 23 Jan 1998 15:49:50 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id KAA27849; Fri, 23 Jan 1998 10:33:36 -0500 (EST) Resent-Date: Fri, 23 Jan 1998 10:33:21 -0500 (EST) From: njs3@doc.ic.ac.uk (Niall Smart) Date: Fri, 23 Jan 1998 15:34:47 +0000 In-Reply-To: Sven Guckes "finding symlinks without target" (Jan 23, 3:47pm) X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: Sven Guckes , ZShell Users Subject: Re: finding symlinks without target Message-Id: Resent-Message-ID: <"lmYXZ3.0.zn6.0XBoq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1254 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Jan 23, 3:47pm, Sven Guckes wrote: } Subject: finding symlinks without target > Hi! > > Problem: > Find (and print) all symbolic links without a target within the current dirtree. > > Anyone hints? This is an abuse of your shell, there are already many C variants of this, though I can't remember any of their names. If you were really desperate, you could hack something up with zsh and find. Eg. find . -type l -exec myscript.zsh {} \; etc etc. Niall