zsh-users
 help / color / mirror / code / Atom feed
From: jason@jnj.org
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@sunsite.dk
Subject: RE: IFS, set, and positional parameters not doing what I expect
Date: Sun, 28 Mar 2004 18:29:34 -0700	[thread overview]
Message-ID: <20040329012934.29796.qmail@webmail-2-3.mesa1.secureserver.net> (raw)

> -------- Original Message --------
> Subject: Re: IFS, set, and positional parameters not doing what I
> 
> Works For Me (tm):
> 
> schaefer<501> setopt shwordsplit 
> schaefer<502> f="a:b:c"
> schaefer<503> OFS=$IFS; IFS=: ; set -- $f ; IFS=$OFS
> schaefer<504> echo $1
> a

I must be on drugs.  I swear I tried that 3 different ways and
it didn't work.

Naturally, it works fine now.  Thanks!

--
Jason


             reply	other threads:[~2004-03-29  1:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-29  1:29 jason [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-03-28 22:04 jason
2004-03-29  0:53 ` 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=20040329012934.29796.qmail@webmail-2-3.mesa1.secureserver.net \
    --to=jason@jnj.org \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.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).