Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Unexpected results



This was unexpected:

 % echo 'a/path with spaces/in/quotes'
a/path/in/quotes
 % echo !:1:h
quote> 

I was expecting the equivalent of

 % echo 'a/path/in'

What seems to work is

 % echo !:1:h'

It just seemed odd to me.

Attachment: signature.asc
Description: Message signed with OpenPGP



Messages sorted by: Reverse Date, Date, Thread, Author