Wags,
    Let me try to explain what I wanted to do with awk
script. When the user enters some data in the form, I
want to search for this data as key in a datafile and
update the information next to that information with
another field entered by user .
e.g.,
my input file..

bhanu tclprogrammer
wags perlprogrammer

Now , assuming that I have $myuser=bhanu and
$mygoal=perlprogrammer,

My script should open this datafile and replace
"tclprogrammer" next to bhanu with "perlprogrammer"
i.e.,
After I run the script,
My output should look like

bhanu perlprogrammer
wags perlprogrammer.
....

I've been trying to do this with awk.! Donno if this
can be easily done with perl?!
Thanks
Bhanu.



__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to