Alexander Birch on 23 Dec 2004 14:49:22 -0000


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

Re: [PLUG] awk question


On Thu, 23 Dec 2004 09:38:25 -0500 (EST), Jon Nelson
<quincy@linuxnotes.net> wrote:
> 
> I tried your script and it worked I also tried:
> 
>     awk '{ gsub("207.106.32.241","ancss.org"); print }' *.html > bar.tmp
> 
> which also worked.
 
Jon,

would bar.tmp contain the contents of the last html file? Instead of
replacing the ip address with the domain name in each of the files?

Alex

-- 
Check out Firefox, it makes browsing the internet fun again. Best of
all it's free.
http://www.mozilla.org
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug