zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@u.genie.co.uk>
To: Zsh workers <zsh-workers@sunsite.auc.dk>
Subject: Re: PATCH: _diff
Date: Thu, 10 Feb 2000 14:44:31 +0000	[thread overview]
Message-ID: <38A2CECF.D2CF0256@u.genie.co.uk> (raw)
In-Reply-To: <200002101410.PAA25260@beta.informatik.hu-berlin.de>

Sven Wischnowsky wrote:
> 
> Well, if we use something like _diff_is_gnu[$words[1]], using a
> non-local variable should be fine, right?

It'd be fine though I suppose that if we're going to be pedantic it
wouldn't: $words[1] could include a path to the command which is
relative to the current directory so it would refer to a different
command after a cd. I don't think that would matter much though.

Is there a quick and easy way to turn a directory name into a full
non-relative path (like the DOS truename command). I've done things like
a=$(cd $d;pwd) in scripts before. An expansion flag of some sort to do
it would be useful (if one doesn't already exist).

Oliver


  reply	other threads:[~2000-02-10 14:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-10 14:10 Sven Wischnowsky
2000-02-10 14:44 ` Oliver Kiddle [this message]
2000-02-11 10:14 ` Alexandre Duret-Lutz
  -- strict thread matches above, loose matches on Subject: below --
2000-02-11 13:20 Sven Wischnowsky
2000-02-11 19:27 ` Peter Stephenson
2000-02-11 10:48 Sven Wischnowsky
2000-02-11 13:06 ` Alexandre Duret-Lutz
2000-02-10 12:58 Oliver Kiddle
2000-02-10 15:51 ` Bart Schaefer
2000-02-11 15:28 ` Tanaka Akira

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=38A2CECF.D2CF0256@u.genie.co.uk \
    --to=opk@u.genie.co.uk \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).