Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: other things i miss in zsh ...
- X-seq: zsh-users 13787
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users <zsh-users@xxxxxxxxxx>
- Subject: Re: other things i miss in zsh ...
- Date: Fri, 30 Jan 2009 08:50:53 -0800
- In-reply-to: <2d460de70901300803h34a6b1f6x989ca453724d373@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20090130085140.GC9835@xxxxxxxxxxxx> <2d460de70901300803h34a6b1f6x989ca453724d373@xxxxxxxxxxxxxx>
On Jan 30, 5:03pm, Richard Hartmann wrote:
}
} You are thinking of perl's
}
} use strict;
} use warnings;
}
} I presume. Neat idea! Especially if it fails with a verbose error
} message automagically.
Unfortnately it can't work quite that way. Perl does a *lot* more
semantic analysis when first translating a script into its internal
compiled form than is practical for any Bourne-shell-like shell to
perform. The shell language defintion and variable scoping rules
are not themselves strict enough to support "compile time" checking.
If you need that, write your scripts in a language that has it.
--
Messages sorted by:
Reverse Date,
Date,
Thread,
Author