Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: handling spaces in variables
- X-seq: zsh-users 11458
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: handling spaces in variables
- Date: Thu, 26 Apr 2007 20:33:14 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=first1; d=spodhuis.org; h=Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; b=XuRs40Tpfg2cbNXdTr3x8kv/wL3+6BlTX1puphQcXM2hLsur1TtmSFHj5mSF7wAM5E/LKO/l+oo2nEaxs+Isk6xGOY8DZdtxc0g8GHnMoOZYoZ7v0VFBgmzLiAuuIVT9fwdtVf5NxM+zKeyndrVd6S6YHReqQOAV6+I3c84xmVw=;
- In-reply-to: <7c737f300704261807s305f9858x37d044483870722@xxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <7c737f300704261807s305f9858x37d044483870722@xxxxxxxxxxxxxx>
On 2007-04-26 at 18:07 -0700, Alexy Khrabrov wrote:
> I'm running zsh on MacOSX,
That might be your user shell, but that doesn't mean /bin/sh is zsh.
Unfortunately, when I check, something is setting SHELL to the shell
from the user database. Bah!
> #!/bin/sh
Change that to #!/bin/zsh
After that, you'll have zsh behaviour. Which, by default, does *NOT*
split on whitespace the way that every other shell does. Making zsh
especially nice on MacOS.
-Phil
Messages sorted by:
Reverse Date,
Date,
Thread,
Author