zsh-users
 help / color / mirror / code / Atom feed
From: "Jérémie Roquet" <arkanosis@gmail.com>
To: zsh-users@zsh.org
Cc: Volodya Khomchak <kolombo.inc@gmail.com>
Subject: Re: Problem with "?" symbol
Date: Tue, 3 Aug 2010 14:39:51 +0200	[thread overview]
Message-ID: <AANLkTimTxA5RcuW-hSCUeKrdS1X17SjRjwHBHbZJNFA3@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimLO4gf=Gh9y9Z20OnFQ7sLoJQX-yeA9+peq_vx@mail.gmail.com>

Hi,

2010/8/3 Volodya Khomchak <kolombo.inc@gmail.com>:
> I faced with next issue in zsh. I'm new with this and don't have any
> idea why this occurs.
> So the problem is next:
>
> [kolombo:~]> curl -vvv -k https://HOST.COM/page/page2/?virtual_serial=101032
> zsh: no matches found:
> https://esx16-bsd05.qa.sbr.ironport.com/atlas/ipcs/?virtual_serial=101032
>
> This command fails on "?" symbol, do you have any idea why  this occurs ?

Yes: "?" is a glob operator meaning "any character", similar to "*"
(which means "any sequence of characters").

See "man zshexpn", section "glob operators" for more information.

> Also I know that this could be resolved by this:
> alias curl="noglob curl"

You might prefer escaping the "?" with a backslash:

curl -vvv -k https://HOST.COM/page/page2/\?virtual_serial=101032

If you like copy-pasting urls in your shell, have a look at the
url-quote-magic widget to escape glob operators automatically.

Best regards,

-- 
Jérémie


  parent reply	other threads:[~2010-08-03 12:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-03 12:26 Volodya Khomchak
2010-08-03 12:35 ` Alexey I. Froloff
2010-08-03 13:06   ` René 'Necoro' Neumann
2010-08-03 15:17     ` Bart Schaefer
2010-08-03 12:39 ` Jérémie Roquet [this message]
2010-08-03 12:50   ` Vincent Lefevre
2010-08-03 12:46 ` Vincent Lefevre
2010-08-08 12:10 ` Bryan Hunt
2010-08-03 13:35 Manuel Presnitz
2010-08-03 14:46 ` Dan Nelson
2010-08-03 21:05   ` Vincent Lefevre
2010-08-08 12:49   ` Nadav Har'El
2010-08-08 13:50     ` Benjamin R. Haskell

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=AANLkTimTxA5RcuW-hSCUeKrdS1X17SjRjwHBHbZJNFA3@mail.gmail.com \
    --to=arkanosis@gmail.com \
    --cc=kolombo.inc@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).