zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>,
	zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: suggestion for new condition
Date: Wed, 27 Jan 1999 22:01:31 -0800	[thread overview]
Message-ID: <990127220131.ZM31640@candle.brasslantern.com> (raw)
In-Reply-To: <199901270751.IAA29022@beta.informatik.hu-berlin.de>

On Jan 27,  8:51am, Sven Wischnowsky wrote:
} Subject: Re: PATCH: suggestion for new condition
}
} > } The patch below implements the `(t)' flag. `${(t)param}' will expand
} > } to a string describing the type of parameter. When param is unset, it
} > } will expand to `-'
} > 
} > Why?  Why not have it expand to nothing?  In any case "-" is a bad choice,
} > because in certain contexts it could be misinterpreted as an option.
} 
} Blink. Yes, you are right, I was just thinking about Peter's mail and
} didn't like to use a space. Of course, an empty string is the better
} solution.

OK, cool, now dumb question number two:  Why does ${(t)param} ignore the
setting of the `nounset' option?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-27  7:51 Sven Wischnowsky
1999-01-28  6:01 ` Bart Schaefer [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-01-28  9:19 Sven Wischnowsky
1999-01-26 15:47 Sven Wischnowsky
1999-01-26 18:23 ` Bart Schaefer
1999-01-25 10:40 Sven Wischnowsky
1999-01-25 10:57 ` Peter Stephenson
1999-01-25 12:50   ` Andrej Borsenkow

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=990127220131.ZM31640@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=wischnow@informatik.hu-berlin.de \
    --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).