Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
loving zsh, crashing zsh...
- X-seq: zsh-users 14303
- From: Francisco Borges <francisco.borges@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: loving zsh, crashing zsh...
- Date: Thu, 13 Aug 2009 12:41:21 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=BGmMx8tHRS6kPBrgyAVu2xHtQSFqQiC8+7SQP0sLzsg=; b=oN54Jvfzchp/1x9A2RuUgDJOzuOqcAhaEhPkXHiMztd8cAIIeoVfbqZL3f2qHStkWz tazFx9/6zi5OrCXr3cgDpr9rvXsk1flPLOoTxLC2uXi9j0ZE5prHEscCcfDMD9JbGebc FpPzL13Ttr9AZh31vY6Kicj3T98KWgCmRBqBc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=r4mhZ5yq/VMbxk8ONDGBRABAIfMfL3QH0EVhTF3OLcT9DaVDjTIf0eJXTwFPk44o5v xwedQkIpQjKT9iJ2DYmt5MExo540KJYpQmzq8G8t6VnOQyewk70HgraK/KampNxJgk68 aHwPO5vkXn4ynEghljLwBydWno55x1sOJ6xjA=
- In-reply-to: <f950edef0908130340s3ede9ec3hfdfe5626574a7485@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <f950edef0908130340s3ede9ec3hfdfe5626574a7485@xxxxxxxxxxxxxx>
Hello,
I was annoyed by the evaluation of an if in a script, went to play
with it in the command line, and found this cute segfault.
Â~ % echo $ZSH_VERSION
4.3.9
Â~ % if [[ -e /etc ]] { echo "\nNow I'll go back to the '/etc' in the
if,\nDelete the c in it, hit TAB for completion.\nThis will crash the
shell\n\n" }
Now I'll go back to the '/etc' in the if,
Delete the c in it, hit TAB for completion.
This will crash the shell
Â~ % if [[ -e /et ]] { echo "\nNow I'll go back to the '/etc' in the
if,\nDelete the c in it, hit TAB for completion.\nThis will crash the
shell\n\n" }
Warning: Program '/bin/zsh' crashed.
Some years ago I had found another way to crash Zsh and upon posting
it, someone answered back by saying something like "you're not
supposed to do that". Yeah right. Just watch me :-P
Cheers,
--
Francisco
Messages sorted by:
Reverse Date,
Date,
Thread,
Author