rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Bengt Kleberg <bengt@softwell.se>
To: bengt@softwell.se, byron@rakitzis.com,
	rc@hawkwind.utcs.toronto.edu, tjg@star.le.ac.uk
Subject: Re: ifs substitution, how should it work?
Date: Thu, 18 May 2000 04:12:53 -0400	[thread overview]
Message-ID: <200005180812.KAA05394@trillian.softwell.se> (raw)

> From: Byron Rakitzis <byron@rakitzis.com>
> So,
> 	ifs='abc'
> and
>	ifs=(a b c)
> should accomplish the same thing.
> Isn't that what you want?

No. I wanted ifs = (abc)
Ie, 
; x = ``(abc) {echo -n 1a2b3abc4c5}
; echo $x => 1a2b3 4c5

This is (IMHO) better, but I presume that there is too much code out there
that depends upon ifs='abc' beeing equal to ifs=(abc).
What if I volunteered to fix everybody elses code for them (provided that they send it to me :-)


Best Wishes, Bengt
===============================================================
Everything aforementioned should be regarded as totally private
opinions, and nothing else. bengt@softwell.se
``His great strength is that he is uncompromising. It would make
him physically ill to think of programming in C++.''


             reply	other threads:[~2000-05-19 22:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-18  8:12 Bengt Kleberg [this message]
2000-05-18 12:12 ` Tim Goodwin
  -- strict thread matches above, loose matches on Subject: below --
2000-05-22  7:55 Bengt Kleberg
2000-05-22  8:53 ` Tim Goodwin
2000-05-19 22:10 Russ Cox
2000-05-18 12:57 Bengt Kleberg
2000-05-18  6:32 Byron Rakitzis
2000-05-16 11:22 Bengt Kleberg
2000-05-12 10:14 Bengt Kleberg
2000-05-15  9:27 ` Tim Goodwin

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=200005180812.KAA05394@trillian.softwell.se \
    --to=bengt@softwell.se \
    --cc=byron@rakitzis.com \
    --cc=rc@hawkwind.utcs.toronto.edu \
    --cc=tjg@star.le.ac.uk \
    --subject='Re: ifs substitution, how should it work?' \
    /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

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).