bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setenv & unsetenv


From: Chet Ramey
Subject: Re: setenv & unsetenv
Date: Tue, 12 Dec 2000 10:41:08 -0500

> In article <9135k3$k55$1@cscnews.csc.calpoly.edu>,
> Christopher Michael Collins ( <cmcollin@monet.artisan.calpoly.edu> wrote:
> 
> > I was given a script to set environment variable to 
> > then run an application.  It contains the c-shell
> > variable setenv and unsetenv.
> > 
> > Are there bash equivalents?
> 
> VARIABLE = value

That should be

VARIABLE=value

> export VARIABLE = value

This should be

export VARIABLE=value

No whitespace is permitted around the `='.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]