Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug report about zsh
- X-seq: zsh-users 23592
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: air azure <blucmt@xxxxxxxxx>, zsh-users@xxxxxxx
- Subject: Re: bug report about zsh
- Date: Mon, 20 Aug 2018 13:00:43 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=cBGbYo byyAKSyt0Cb4GWLioE81KCA9OtN3SbHgzwsLM=; b=V2FimszLKUBrGPzywbV2wU Eb6CUvC5GTqHF04RVJdA3hZ26kznVup2tpv7EgdnVNkNZqYro+m5cx1Yv5PcgKxz QyL87p/5tYIWgwFx6Y0BynQEMim4RbbzC9kuNArazut1O+/Ug7r2VGEPVoXiYJDK BfnkAEEyl3sztGqK68fmlNoIgjfxm+PGWTdadWOk4lZfubPOH+T7lmY+XvHYvuZM lkXriP4nkplpVEm2T5q+i1sxKExQ+ZA3qFIbKV5JQP+/IRckF/UzWI+0DSjCVZTf yY+RYYbfiKo+Oj22FPvC+pUc1vIWcN2ATXsjzni2YCghZEdiGSRZ6w9Pz6PZGJ7Q ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=cBGbYo byyAKSyt0Cb4GWLioE81KCA9OtN3SbHgzwsLM=; b=CxpQJyEBDTDFuoH3DLka1F AMU/VFNWoWvWrz3i0cp35Kso70BSyfm+gMLqo01IbV2xgRza9D+DMN5F/rGX19qg 8QEgGcdmC82bPv+8wyKBiyj7DRkinq78tA9trBAVdG29dVxbDOjj69clQIOspeyb 7s8uNRCpWEiz3AbMaxjLs0eyXzDOzZsIzJQ8WotW/5BnjffgtEvz5mDy/Q11Yat4 iGgzFTu9trrcpqcxw/q2YnaA4EzEj1v2XyAQFEf+/g7qjRvSq+eFWo7ZXQmotaqG tMtGkpSsqrSYuXzqWUCPE24UFug9z8JTeVFFWlxtnABOnJ7IUVGo+AdtiY7QD9BA ==
- In-reply-to: <CAJbOvNxbshEc=YMe5BKUYfM7k3BGfWh=z8Jw7Acw5GnWRuTw_w@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAJbOvNxbshEc=YMe5BKUYfM7k3BGfWh=z8Jw7Acw5GnWRuTw_w@mail.gmail.com>
air azure wrote on Mon, 20 Aug 2018 09:56 +0800:
> sshfs xxxx@[yyyy:yy::yy]:/zzz ~/remote
>
> zsh report back
> zsh: no matches found: xxxx@[yyyy:yy::yy]:/zzz
That's not a bug. Square brackets are globbing syntax:
% touch a b c d e f
% ls -1 [a-c]
a
b
c
%
You should just quote or escape the square brackets. (There _is_
`unsetopt NO_MATCH` but it's not recommended because it's basically an
opt-in to unpredictable/ambiguous parsing.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author