Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problem with "?" symbol
- X-seq: zsh-users 15228
- From: Jérémie Roquet <arkanosis@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Problem with "?" symbol
- Date: Tue, 3 Aug 2010 14:39:51 +0200
- Cc: Volodya Khomchak <kolombo.inc@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=XISr0ttURrtRNjN9zCdjYhsnxBtH7XsmuwcFEezQzCg=; b=SqE9x4CxbnFcxpU3tLoMbt4g/MQPVFHLc+bEOCeDoHeQZDOt4wZfAuI/K2DD65R8iP fRndSKV15OF94ZEha4EFmjNoDruLUh+NUFe73DEoDNlr1E0l+go0x8v/Qmum9bsBT9/2 VAs5Qyy9Y+ZbMZ4XUkPxRAj0f8rAlgh7lCxSE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=OozyuSjUqLzpfYbxhLagBimPuokTlhsfy+Sv8lzZDlzuVezICSA/EltO5fL/VgcKws pqlqag38VGxMvjDaRBGbK3oFdIqyxHbGXHIdNTiEbou0wo7aHQj6L6ggdRYUoe2SKC0U r6WMQrfSkkC5nG+z9J0JpETnsVpJUFn4MP6eo=
- In-reply-to: <AANLkTimLO4gf=Gh9y9Z20OnFQ7sLoJQX-yeA9+peq_vx@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <AANLkTimLO4gf=Gh9y9Z20OnFQ7sLoJQX-yeA9+peq_vx@xxxxxxxxxxxxxx>
Hi,
2010/8/3 Volodya Khomchak <kolombo.inc@xxxxxxxxx>:
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author