From owner-freebsd-bugs Fri Apr 5 1:30: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5C13837B416 for ; Fri, 5 Apr 2002 01:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g359U2026031; Fri, 5 Apr 2002 01:30:02 -0800 (PST) (envelope-from gnats) Date: Fri, 5 Apr 2002 01:30:02 -0800 (PST) Message-Id: <200204050930.g359U2026031@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: bin/36757: EnhancementRequest binary which ought to append @ if result is symlink Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/36757; it has been noted by GNATS. From: David Malone To: Peter Leftwich Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: bin/36757: EnhancementRequest binary which ought to append @ if result is symlink Date: Fri, 5 Apr 2002 10:23:24 +0100 On Fri, Mar 22, 2002 at 11:46:12PM -0800, Peter Leftwich wrote: > >Description: > I would like the command/binary "which" to append an "@" to the resulting path and filename if the result is a symlink (symbolic link). Thank you for entertaining this notion. One way of doing this is: ls -F `which command` David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message