zsh-workers
 help / color / mirror / code / Atom feed
From: Phil Pennock <comet@fysh.org>
To: zsh-workers@sunsite.auc.dk
Subject: Re: set -A and stat -A vs. typeset -A and stat -H
Date: Thu, 28 Jan 1999 13:23:16 +0000	[thread overview]
Message-ID: <19990128132316.B19607@fysh.org> (raw)
In-Reply-To: <990128014724.ZM32736@candle.brasslantern.com>; from "Bart Schaefer" on Thu 28 Jan 1999 (1:47 -0800)

Typing away merrily, Bart Schaefer produced the immortal words:
> Phil P. has expressed interest in going back to `typeset -H assoc' rather
> than the ksh-inspired `typeset -A assoc' presently in use.  I objected on
> the grounds that (H)ash, as e.g. used in the `stat -H' documentation, is
> the wrong way to refer to associative arrays; it implies too much about the
> implementation.

You might with to check the documentation for the stat module, which
seems up to date.  I've just got 3.1.5-pws5 here and opened it to
verify my memory.

`stat -A' was already taken.  For assigning to an Array.  This is why I
looked around for another value, and is probably the point at which I
started getting really annoyed about the option values.

Hrm... just went searching for this.  From fortune(6):
        Stop!  Whoever crosseth the bridge of Death, must answer first
these questions three, ere the other side he see!

        "What is your name?"
        "Sir Brian of Bell."
        "What is your quest?"
        "I seek the Holy Grail."
        "What are four lowercase letters that are not legal flag arguments
to the Berkeley UNIX version of `ls'?"
        "I, er.... AIIIEEEEEE!"

HAND (and no, the first two letters of that are just coincidence).
-- 
--> Phil Pennock ; GAT d- s+:+ a23 C++(++++) UL++++/I+++/S+++/B++/H+$ P++@$
L+++ E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++
DI+ D+ G+ e+ h* r y?


  reply	other threads:[~1999-01-28 13:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-28  9:47 Bart Schaefer
1999-01-28 13:23 ` Phil Pennock [this message]
1999-01-28 17:33   ` Bart Schaefer
1999-01-28 17:43     ` Bruce Stephens
1999-01-28 17:50     ` Phil Pennock
1999-01-30  6:22       ` Bart Schaefer

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=19990128132316.B19607@fysh.org \
    --to=comet@fysh.org \
    --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).