Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Does zsh have an equivalent to the shopt command ?
- X-seq: zsh-users 10542
- From: Sean <schliden@xxxxxxxxx>
- To: "Peter Stephenson" <p.w.stephenson@xxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Subject: Re: Does zsh have an equivalent to the shopt command ?
- Date: Mon, 24 Jul 2006 17:44:18 +1000
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dCLBPcJly094b+6HiIguz4LD8fcspRDrjDFuSEuJFkPJElejduMKLW0Ove1zVItvc1iGDOfNItdy2xNnOt7TMNp3ptU2SDBq+RMp6BMwLFuOxjWllUpNGTh/EZs1sv9OqFepoDds19wR19JP3kOIk408YT5FiQM11t6qJVcMVfI=
- In-reply-to: <200607221508.k6MF8W0w002651@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <96c45c490607220357h2c841b20q506de061f0e6f43b@xxxxxxxxxxxxxx> <200607221508.k6MF8W0w002651@xxxxxxxxxxxxxxxxx>
Peter,
On futher investigation, it appears that it is not actually choking on
that line, rather this code which appears in many of the case option
function calls:
version() { sed -e 's/^ //' <<EndVersion
TODO.TXT Manager
Version 1.6.3
Author: Gina Trapani (ginatrapani@xxxxxxxxx)
Release date: 5/11/2006
Last updated: 7/6/2006
License: GPL, http://www.gnu.org/copyleft/gpl.html
More information and mailing list at http://todotxt.com
EndVersion
exit 1
}
On 7/23/06, Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
That's absolutely standard shell code which should work fine everywhere.
What's the context? What's the actual error? Could "getopts", or even
"while", have been replaced by a function?
I suggest posting to the list in case anyone has suggestions.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author