zsh-users
 help / color / mirror / code / Atom feed
From: Meino.Cramer@gmx.de
To: zsh-users@zsh.org
Subject: Avoiding the zshells intelligence...in one case
Date: Sun, 22 Jan 2017 09:01:53 +0100	[thread overview]
Message-ID: <20170122080153.GA5042@solfire> (raw)

Hi,

I want to wriet a zscript, which first argument is a URL like
this: http://www.domain.com/file/scrap?t=5O2%20&30
(this URL is fiction and probably nonsense...)

Or in other words: Those URLs may contain a lot of "active"
stuff, which zsh will transform,replace,expand,glob and 
what else (and normally I am quite happy with that :)

Previously I used commands like

    zscript 'http://<URL>'

but over the time I get annoyed by the '' since the
stuff in between was cute'n'pasted from somewhere else.

Is there any way to write a script/alias which takes
its first/nth argument verbatim and character by character
without any intelligent intervention of the zshell?

Thank you very much in advance for any help!
Cheers
Meino



             reply	other threads:[~2017-01-22  8:15 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-22  8:01 Meino.Cramer [this message]
2017-01-22 18:26 ` Bart Schaefer
2017-01-22 21:52   ` Martin Vaeth
2017-01-22 22:41     ` Bart Schaefer
2017-01-23 18:09       ` Martin Vaeth
2017-01-23 22:26         ` Bart Schaefer
2017-01-23 22:40           ` Ray Andrews
2017-01-24  2:48             ` Eric Cook
2017-01-24  5:42               ` Ray Andrews
2017-01-24 15:58                 ` Eric Cook
2017-01-24 18:21                   ` Ray Andrews
2017-01-24 22:31                     ` Bart Schaefer
2017-01-25  1:19                       ` Ray Andrews
2017-01-25  3:46                         ` Bart Schaefer
2017-01-25  5:40                           ` Ray Andrews
2017-01-25 16:50                             ` Bart Schaefer
2017-01-25  4:56                         ` Bart Schaefer
2017-01-25  5:47                           ` Ray Andrews
2017-01-23 22:44         ` Bart Schaefer
2017-01-24 19:37           ` Martin Vaeth
2017-01-24 21:24             ` Bart Schaefer

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=20170122080153.GA5042@solfire \
    --to=meino.cramer@gmx.de \
    --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).