Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Parameter expansion bug?
- X-seq: zsh-workers 2300
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: aheading@xxxxxxxxxxxx (Anthony Heading)
- Subject: Re: Parameter expansion bug?
- Date: Thu, 31 Oct 1996 17:12:35 +0100 (MET)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199610311441.OAA10516@xxxxxxxxxxxxxxxxxxxxxxxxxxx> from Anthony Heading at "Oct 31, 96 02:41:57 pm"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
Anthony Heading wrote:
> This does not print anything (at least with zsh 3.0.0) - shouldn't it print `-'?
>
> % echo ${dqkjdkqdq:--}
In zsh echo - does not print anything and echo - -n prints -n. How do you
print -n under bash?
Try
print -r - ${sdrgsdfdg:--}
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author