Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: minor parsing bug in zsh 3.0.8
- X-seq: zsh-workers 14244
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Jens Schweikhardt <schweikh@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: minor parsing bug in zsh 3.0.8
- Date: Mon, 7 May 2001 14:20:23 +0000
- In-reply-to: <20010507160252.A1540@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010507160252.A1540@xxxxxxxxxxxxxxxx>
On May 7, 4:02pm, Jens Schweikhardt wrote:
}
} zsh won't parse function definitions with a space between the parentheses:
}
} # foo ( ) { echo foo }
} zsh: parse error near `}'
It will if you `setopt SH_GLOB'. The POSIX rules conflict with zsh's own
globbing rules. There are a number of options one has to set before the
shell will closely emulate POSIX; the easiest way to get them all is to
use the `emulate sh' command.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author