Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2000 20:25:17 -0800
From:      Dima Dorfman <dima@unixfreak.org>
To:        "Aaron Hill" <hillaa@hotmail.com>
Cc:        questions@freebsd.org
Subject:   Re: Script: Variable substition within a variable? 
Message-ID:  <20001218042522.8ABCF3E09@bazooka.unixfreak.org>
In-Reply-To: Message from "Aaron Hill" <hillaa@hotmail.com>  of "Mon, 18 Dec 2000 03:53:19." <F175g2UVe3lQN5vnoqt00000f22@hotmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> filetwo:
> #!/bin/sh
> 
> name="Aaron"
> fileone=`cat fileone`

Change that last line to:

  eval fileone=`cat fileone`

Hope this helps

Dima


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001218042522.8ABCF3E09>