zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
Cc: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Re: Export problem
Date: Wed, 6 Jun 2001 11:23:05 -0400	[thread overview]
Message-ID: <20010606112305.A25409@dman.com> (raw)
In-Reply-To: <002901c0ee96$c9e38490$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Wed, Jun 06, 2001 at 06:41:36PM +0400


> Yes. Please, look in grammar for definition of WORD, look here
> <http://www.opengroup.org/onlinepubs/007908799/xcu/chap2.html#tag_001_006>
> for precise definition how expansions are performed and look in my previous
> mail for definition how fields are used (first field becomes command name,
> subsequent fields become arguments).

field

       In the shell, a unit of text that is the result of parameter
       expansion (see the XCU specification, Parameter Expansion ),
       arithmetic expansion (see the XCU specification, Arithmetic
       Expansion ), command substitution (see the XCU specification,
       Command Substitution ), or field splitting (see the XCU
       specification, Field Splitting ). During command processing
       (see the XCU specification, Simple Commands ), the resulting
       fields are used as the command name and its arguments. 

word

       In the shell, a token other than an operator. In some cases a
       word is also a portion of a word token: in the various forms of
       parameter expansion (see the XCU specification, Parameter Expansion ),
       such as ${name-word}, and variable assignment, such as name=word, the
       word is the portion of the token depicted by word. The concept of a
       word is no longer applicable following word expansions only fields remain;
       see the XCU specification, Word Expansions . 

> One answer for all - it should execute command ``export'' with parameters:
> 
> THIS=-0400;
> rm
> -rf
> .
> 
> What the command ``export'' does with these parameters - it is up to this
> command.

I think I've got it now.


  reply	other threads:[~2001-06-06 15:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-04 18:30 a normal guy
2001-06-04 18:42 ` Geoff Wing
2001-06-05  5:18   ` Andrej Borsenkow
2001-06-05  9:35     ` Peter Stephenson
2001-06-06  7:51       ` Clint Adams
2001-06-06  8:18         ` Andrej Borsenkow
2001-06-06 13:48           ` Clint Adams
2001-06-06 14:41             ` Andrej Borsenkow
2001-06-06 15:23               ` Clint Adams [this message]
2001-06-06  8:27       ` Andrej Borsenkow
2001-06-05  9:39     ` Peter Stephenson
2001-06-05 10:16       ` Andrej Borsenkow
     [not found] <1010605064402.ZM4270@candle.brasslantern.com>
2001-06-05 15:52 ` a normal guy
2001-06-06  5:56   ` Andrej Borsenkow
2001-06-06 10:06     ` Bart Schaefer
2001-06-11 18:24 HP-UX 11.00 tgetenv dilemma Andrej Borsenkow
2001-06-11 22:05 ` Export problem a normal guy

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=20010606112305.A25409@dman.com \
    --to=clint@zsh.org \
    --cc=Andrej.Borsenkow@mow.siemens.ru \
    --cc=zsh-workers@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).