From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8458 invoked from network); 6 Jun 2001 15:23:19 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Jun 2001 15:23:19 -0000 Received: (qmail 8712 invoked by alias); 6 Jun 2001 15:23:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14765 Received: (qmail 8698 invoked from network); 6 Jun 2001 15:23:00 -0000 Date: Wed, 6 Jun 2001 11:23:05 -0400 From: Clint Adams To: Andrej Borsenkow Cc: Zsh hackers list Subject: Re: Export problem Message-ID: <20010606112305.A25409@dman.com> References: <20010606094857.A23921@dman.com> <002901c0ee96$c9e38490$21c9ca95@mow.siemens.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 > > 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.