zsh-users
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: air azure <blucmt@gmail.com>, zsh-users@zsh.org
Subject: Re: bug report about zsh
Date: Mon, 20 Aug 2018 13:00:43 +0000	[thread overview]
Message-ID: <1534770043.102795.1479919032.0BAADE9A@webmail.messagingengine.com> (raw)
In-Reply-To: <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.)


           reply	other threads:[~2018-08-20 13:11 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAJbOvNxbshEc=YMe5BKUYfM7k3BGfWh=z8Jw7Acw5GnWRuTw_w@mail.gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1534770043.102795.1479919032.0BAADE9A@webmail.messagingengine.com \
    --to=d.s@daniel.shahaf.name \
    --cc=blucmt@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).