Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Substring magic
- X-seq: zsh-users 10076
- From: Meino Christian Cramer <Meino.Cramer@xxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Substring magic
- Date: Sat, 25 Mar 2006 09:02:28 +0100 (CET)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi,
I got confused by this:
#> ddd="-f"
#> echo $ddd
-f
#> echo $ddd[1,2]
-f
#> echo $ddd[2,2]
f
#> echo $ddd[1,1]
#>
Why is there no "-" ???
Keep hacking!
mcc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author