Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
function declaration syntax
- X-seq: zsh-workers 12124
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: function declaration syntax
- Date: Thu, 29 Jun 2000 12:38:54 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Did anybody notice that according to the manual (and the reference card,
which was how I noticed) this was supposed to work?
% fn() print foo
# Looks like it worked...
% which fn
fn() {
print foo
}
# but it doesn't.
% fn
%
Either we should fix it or remove it.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author