Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [MAYBE BUG] resetting `$0' in sourced script causes zsh to crash on Debian
- X-seq: zsh-workers 27365
- From: Stefano Lattarini <stefano.lattarini@xxxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: [MAYBE BUG] resetting `$0' in sourced script causes zsh to crash on Debian
- Date: Sun, 8 Nov 2009 13:05:15 +0100
- Cc: Dan Nelson <dnelson@xxxxxxxxxxxxxxx>, zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=LbM6kdCf7SQAJGzWhp4YhEo/czzkDEE5+SaoWuvG3+g=; b=CJY9R0Yz+4AUq8QS0L0e5j6SL1wcEPuNKJkIuBY0wh2QNy/fsLMNTbLfDEOhOUOs7T 5w3RqT5K2KMD+qkEiYlUCNtQPOn6CXesn1krB8sjihJqXCm8Cvm15yVOoB9s08v8tTsU UZz4Q0nUt1OebTYKiB3vqGdTK+rx+ia8vFgy8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=qf+UVw8FIG02KXwdQ476oozAhMbJWxciI2xvIg4aqiJ7Mm2Ve7ZyPSN+a4rDU7lhYg ISwLCMwDjaKJiR/k/N2XsZspoH/Ks/0Qait/x5iz0C6dPr4pT25+Jzyz+1Xol0LBkJZq LbBkTGEzEGEGI8LkCPTsv01yWhhGsA6/Zbm8o=
- In-reply-to: <237967ef0911061238y3916ec41l3df655b1ef8c3450@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <200911061949.32084.stefano.lattarini@xxxxxxxxx> <20091106195914.GD89052@xxxxxxxxxxxxxxxx> <237967ef0911061238y3916ec41l3df655b1ef8c3450@xxxxxxxxxxxxxx>
At Friday 06 November 2009, Mikael Magnusson <mikachu@xxxxxxxxx>
wrote:
> >> $ cat main2.zsh
> >> . ./inc2.zsh
> >> echo 0="$0"'
Sorry, the extra trailing single quote is a typo. I probably messed
something up when doing cut & paste from the terminal window.
Regards,
Stefano
Messages sorted by:
Reverse Date,
Date,
Thread,
Author