Re: awk question
- From: rvaede@xxxxxxxxx
- Date: Mon, 26 Nov 2007 07:38:53 -0800 (PST)
On Nov 26, 10:25 am, Ed Morton <mor...@xxxxxxxxxxxxxx> wrote:
On 11/26/2007 9:23 AM, rva...@xxxxxxxxx wrote:
I want to assign a variable using awk:
set myvariable = `awk '{print $1}' cool`
how can extract the contents of cool and assign it to myvariable.
This doesn't work.
In what way?
I have done this before and I cannot remember how to do this
This is an OS question, not an awk question so you'd be better posting it to an
OS-specific NG (e.g. comp.unix.shell if the above is UNIX shell script).
Ed.
Thats false. I am trying to use awk and have a variable assigned.
.
- Follow-Ups:
- Re: awk question
- From: Ed Morton
- Re: awk question
- From: Janis
- Re: awk question
- References:
- awk question
- From: rvaede
- Re: awk question
- From: Ed Morton
- awk question
- Prev by Date: Re: awk question
- Next by Date: Re: awk question
- Previous by thread: Re: awk question
- Next by thread: Re: awk question
- Index(es):
Relevant Pages
|