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

Re: [cobalt-users] Getting variable from file



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