zsh-users
 help / color / mirror / code / Atom feed
From: Philippe Troin <phil@fifi.org>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@sunsite.dk
Subject: Re: Defining commands to not evaluate certain metacharacters
Date: 20 Dec 2003 17:38:34 -0800	[thread overview]
Message-ID: <87fzffvtk5.fsf@ceramic.fifi.org> (raw)
In-Reply-To: <1031221013206.ZM3220@candle.brasslantern.com>

Bart Schaefer <schaefer@brasslantern.com> writes:

> On Dec 20,  1:39pm, Lloyd Zusman wrote:
> }
> } I want to define a set of commands that I can execute from the command
> } line under zsh.
> 
> This is very nearly a non-starter.  The shell parses shell syntax, not
> the syntax of some other language.
> 
> You can get part of the way there with the "noglob" precommand modifier,
> but that doesn't change the special meanings of parentheses, braces, or
> redirections.

How hard would it be implementing a "noparse" precommand modifier?

I've also been wanting to use such a construct, for example when using
the zmv contributed function.

Phil.


  reply	other threads:[~2003-12-21  1:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-20 18:39 Lloyd Zusman
2003-12-21  1:32 ` Bart Schaefer
2003-12-21  1:38   ` Philippe Troin [this message]
2003-12-21  6:53     ` Bart Schaefer
2003-12-22  4:29       ` Philippe Troin

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=87fzffvtk5.fsf@ceramic.fifi.org \
    --to=phil@fifi.org \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    /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).