www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/05/14:58:13

Date: Fri, 5 Jan 2001 14:52:03 -0500
Message-Id: <200101051952.OAA05770@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <20010105134203.A12998@kendall.sfbr.org> (message from JT
Williams on Fri, 5 Jan 2001 13:42:03 -0600)
Subject: Re: shell trickery
References: <20010105134203 DOT A12998 AT kendall DOT sfbr DOT org>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Is there some shell trickery to get the variable `$BASE'
> (written as such in `tmpfile') to be expanded when it is
> presented as the argument to `ls', `cd', etc?

eval echo `cat tmpfile`
eval ls `cat tmpfile`

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019