Search the web
Sign In
New User? Sign Up
geeksthatgawk · for GNU Awk questions & discussions
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
can we call awkscript from a webbrowser   Message List  
Reply | Forward Message #209 of 221 |
Hello friends,
My name is Srinivas Chakrpani, I have so many doubts in awk scripting.
The scripting tools like perl,php,python can call from a web browser.
Just by modification the Add-Handler types in httpd.conf file (for
apache web server). Is it possible in the same way we can call any
awkscript from the webserver. If so please give the details what we
have to do to the file/ permissions to files and with a example script.

Moreover I want to format the numbers in awk that is
123456 as 1,23,456 how is it possible if possible please share me with
a example

I want access multiple files in awk is it possible?

Any scripts in awk are please send to my mail address giving below

chs.chakrapani@...










Thu Sep 7, 2006 5:14 am

schpanich
Offline Offline

Forward
Message #209 of 221 |
Expand Messages Author Sort by Date

Hello friends, My name is Srinivas Chakrpani, I have so many doubts in awk scripting. The scripting tools like perl,php,python can call from a web browser. ...
schpanich
Offline
Sep 7, 2006
11:52 am

Srinivas, Here is an awk script I wrote some time ago for adding commas (every 3 digits) into a number. Command line format would be something like: echo...
Stout, Danny
dasthcc
Offline Send Email
Sep 7, 2006
1:22 pm

... { while (1) { new = gensub(/(.*[0-9])([0-9]{3})/,"\\1,\\2",1) if ($0 == new) break $0 = new } print } echo hello 12123456 wewr | gawk --re-interval -f...
Daniel Ajoy
daniel_ajoy
Offline Send Email
Sep 7, 2006
9:18 pm

I don't understand what you mean. Ask the group. Daniel...
Daniel Ajoy
daniel_ajoy
Offline Send Email
Sep 8, 2006
1:44 pm

... the awk file has to be executable in httpd.conf : <IfModule mod_mime.c> ... AddHandler cgi-script awk ... </IfModule> The file index.awk starts with ...
Daniel Ajoy
daniel_ajoy
Offline Send Email
Sep 7, 2006
1:33 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help