Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Does zsh have an equivalent to the shopt command ?



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