[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Getting variable from file
- Subject: Re: [cobalt-users] Getting variable from file
- From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue Sep 23 10:13:02 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Tue, 23 Sep 2003, Ren[ISO-8859-1] é Mølsted wrote:
> Hi all
> Is it possible to define a varialbe from a file as a string? eg. cat file |
> grep section
> In that case how?
>
STRING=`cat file | grep section`
Gerald
--
http://frontstreetnetworks.com | http://store.raqware.com
Front Street Networks LLC, 229 Front Street, Ste.#C
New Haven, CT 06513-3203 | phone: +1-203-785-0699