How can I make running gawk scripts more user-friendly in a Windows environment?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How can I make running gawk scripts more user-friendly in a Windows environment?
# 1  
Old 10-15-2008
How can I make running gawk scripts more user-friendly in a Windows environment?

I know, and I apologise for using the W word, but I have users asking if they can use my gawk scripts, but I just know they're not going to like using the DOS command line.

Is there any way for me to run my gawk scripts from a gui? Even if it's from a web page (html, php, what ever). I do not know if DOS batch files are capable of passing command line arguments the same way as unix shell scripts are, I guess I'll be looking into that too but just thought that I would ask here as well in case anyone has come across this problem before.
# 2  
Old 10-15-2008
Just write a very simple vb script menu to call a bat file that runs your gawk against some user specified input. Most of ours are a few lines of vb at most.
# 3  
Old 10-21-2008
Thanks for the excellent advice, it has only one major draw-back and that is that I do not know any VB, I wouldn't even know where to start. Care to give me a few pointers please? Smilie
# 4  
Old 10-21-2008
vb express used to be free and may still be available, and being basic is dead easy to learn, but being MS is piss poor to learn. try a google search for it.
the first result from Mr. Google is http://www.microsoft.com/Express/VB/ and looks to be what you could use

and looking a bit further into it, the MS download site doesn't allow firefox to download the latest version, but it does allow you to download the 2005 version, which will still be useful for writing "instant" gui's (read resource hogs)
try
http://www.microsoft.com/express/200...d/default.aspx

Last edited by wempy; 10-21-2008 at 08:31 AM.. Reason: added additional url
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

Mulitpath user-friendly name is correct

We have device mapper multipath configured. multipath -ll is showing things correctly. But when ever we are executing lvm related command, say pvs, it is showing /dev/mpath/<wwid> number instead of expected /dev/mpath/mpathX as follows - /dev/mpath/360060e801603c800000103c800002b22 Here,... (0 Replies)
Discussion started by: atanubanerji
0 Replies

2. Windows & DOS: Issues & Discussions

Gawk on Windows: Joining lines only if 1st field matches

Hi.. i have two files:: file_1:: mOnkey huMAnfile_2:: Human:hates:banana i:like:*** Monkey:loves:banana dogs:kill:catsdesired output:: Monkey:loves:banana Human:hates:bananaso only when the 1st field matches from both files print it from file_2 ((case-sensitive)) i also would like... (21 Replies)
Discussion started by: M@LIK
21 Replies

3. Shell Programming and Scripting

Gawk help (windows)

Someone help please. I tried to do it with findstr but I couldn't, so now I'm trying to output the following numbers from this text file with gawk (what I need is in bold down below): Analyzing pool.ntp.org (1 of 1)... delayoffset from local clock Stratum: 2 Warning: Reverse name... (18 Replies)
Discussion started by: harris_t
18 Replies

4. Windows & DOS: Issues & Discussions

Gawk Script in Windows batch file - Help

Good morning all. I have been running into a problem running a simple gawk script that selects every third line from an input file and writes it to an output file. gawk "NR%3==0" FileIn > FileOut I am attempting to run this command from a batch file at the command line. I have several hundred... (6 Replies)
Discussion started by: 10000springs
6 Replies

5. Windows & DOS: Issues & Discussions

Cannot run command line scripts in perl or gawk

I originally posted this to a different forum (I am a new Perl user) and realized the error so I will ask here. I am on a WindowsXP machine trying to run perl and gawk scripts from the command line. I have perl and gawk installed and environment set to C:\perl\bin and cannot get a script to... (2 Replies)
Discussion started by: 10000springs
2 Replies

6. UNIX for Advanced & Expert Users

User friendly Unix ksh prompt to type directories/files

Hello, I wanted to setup user friendly ksh command prompt, by typing first character of files or directories and then tab bring up whole word. No need to type whole file/directory/command names. Example: cat a file like university just typing un and then tab bring up whole university wod.... (3 Replies)
Discussion started by: abdurrouf
3 Replies

7. Windows & DOS: Issues & Discussions

Running UNIX in windows environment ?

Hi... I have planned to run UNIX application in window environment such as cygwin. Actually, I have download the "cygwin" software but there are some libraries are not applicable in the software. Due to that, anybody know any others unix sofware can be run in windows XP environment ? (1 Reply)
Discussion started by: bh_hensem
1 Replies

8. Shell Programming and Scripting

User friendly

Hello, As a newbie: I know that ls -l list files in a directory.Can i get a Bash script that prints the same information as ls -l but ib a user friendly way? Thank you. (3 Replies)
Discussion started by: debut
3 Replies
Login or Register to Ask a Question