Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Re: question on...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 2124 of 2317
Post > Topic >>

Re: question on awk (FU2 set, comp.lang.awk posted)

by loki harfagr <loki@[EMAIL PROTECTED] > Jan 4, 2008 at 07:46 PM

On Fri, 04 Jan 2008 14:13:29 -0500, Bill Mar*** wrote:

> On 2008-01-04, loki harfagr <loki@[EMAIL PROTECTED]
> wrote:
>>
>>
>>  Well, the real answer depends much on the rest of what you
>> expect to do overall, but just supposing you really want to fill a
>> variable with previous problem description, it's possible to do for
>> instance:
>>
>> $ woooop=$(awk '$NF=="RUNNING"{print $1}' FS=- yourfile)
>>
>>  or backticks instead of ba****sm:
>> $ woooop=`awk '$NF=="RUNNING"{print $1}' FS=- yourfile`
>>
> '$( )' isn't a ba****sm, it's a POSIXism.

 Um, yes, thanks for the clarification, time after time I'm
having more dire and dire difficulties to separate all the
gardens in four different unjoint colours :~+

 but you're most certainly right :-)
 




 1 Posts in Topic:
Re: question on awk (FU2 set, comp.lang.awk posted)
loki harfagr <loki@[EM  2008-01-04 19:46:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 20:22:27 CDT 2008.