Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
${${~:-*}//(#m)*/$MATCH=$MATCH} fails
- X-seq: zsh-users 10708
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: "Zsh Users' List" <zsh-users@xxxxxxxxxx>
- Subject: ${${~:-*}//(#m)*/$MATCH=$MATCH} fails
- Date: Tue, 12 Sep 2006 00:36:30 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=UV5oDnR4hhPmCNIQWC7LlzcnOrIiyEiM0Ia/qIMZ0lc2dsXygzQIcDrmkJGSX4+x/fByNDjQTlINe7mY1zCJW37Sl45TQmVmC1OwETZ7JlTM0sNbDXGuzdU5jWMI15t5/uZWa0goq2sxhd2VMaLb8P5IDeY9/MnD3YhlrUMSV3w=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: nikolai.weibull@xxxxxxxxx
Try the above with an echo. In zsh 4.3.2, this will give you an
illegal UTF-8 character, an equal sign, and another illegal UTF-8
character. Is $MATCH accessing uninitialized memory? Or am I doing
something wrong?
nikolai
Messages sorted by:
Reverse Date,
Date,
Thread,
Author