Skip to main content

alphaWorks  >  Forums  >  System Text for Information Extraction  >  developerWorks

one "how-to" question ...    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]
josemiguel.juar...

Posts: 1
Registered: Aug 05, 2009 11:22:42 AM
one "how-to" question ...
Posted: Aug 05, 2009 11:38:49 AM
 
Click to report abuse...   Click to reply to this thread Reply
hello,
I'm trying to see if AQL is usable for some text file review I have to perform.
I have a file, file.txt, containing lines like this :

11:21
bla=1
11:22
jjj
11:44
bla=3
jkjkk
bla=4

Is there any way of getting from AQL what this AWK scripts gets :
cat file.txt |awk '/0-20-9:0-60-9/ { cur_x =$0 }/bla/ { print FNR,cur_x, $0 }'

I tried ... but I has been unable to make it work.
Many thanks!
Txemy

Point your RSS reader here for a feed of the latest messages in all forums