zsh-users
 help / color / mirror / code / Atom feed
From: Phil Pennock <zsh-workers+phil.pennock@spodhuis.org>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@zsh.org
Subject: Re: Dereferencing a symlink...or that alike...
Date: Mon, 19 Aug 2013 00:13:27 -0400	[thread overview]
Message-ID: <20130819041327.GA22326@redoubt.spodhuis.org> (raw)
In-Reply-To: <130817220559.ZM3201@torch.brasslantern.com>

On 2013-08-17 at 22:05 -0700, Bart Schaefer wrote:
> I don't know of any external utility that will print *only* the target
> of the symlink.  E.g.

readlink(1) is part of GNU coreutils and is part of the base system on
FreeBSD, OpenBSD, etc.

% readlink etcetera
/etc

(On FreeBSD, at least, it's a hardlink to the stat(1) command, which
 switches behaviour if argv[0] shows it was invoked as readlink.)

-Phil


      reply	other threads:[~2013-08-19  4:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-18  2:40 meino.cramer
2013-08-18  4:30 ` Phil Pennock
2013-08-18  5:05 ` Bart Schaefer
2013-08-19  4:13   ` Phil Pennock [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130819041327.GA22326@redoubt.spodhuis.org \
    --to=zsh-workers+phil.pennock@spodhuis.org \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).