I want to open a data file from a shell script and get the last line of data as three arguments. How would i do this? I guess nawk has the getline() function but is there another method available...
http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_10961581.html
Zones:
MS SQL ServerDate Answered: 08/10/2000 Rating: 7.6 Views: 0
Hi,
I am needing a shell script that will help automate sending reports via email to our users. I have everything ready except for one part.
All of the reports that we print has the email addr...
http://www.experts-exchange.com/Programming/System/Linux/Q_21928063.html
Zones:
Linux DevDate Answered: 07/22/2006 Rating: 7.6 Views: 17
I would like to be able to parse through a file, and have it start a new line everytime it finds "String" (which is somewhere on every line). So after this is complete, every other line in the file...
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/bash/Q_23760943.html
Zones:
bashDate Answered: 09/25/2008 Rating: 7.8 Views: 0
I am trying to set up a shell script to find lines like this in the Apache log file:
32.139.108.140 - - [30/Dec/2008:14:44:55 -0600] "\x16\x03" 404 -
I can get the script to find log entries ...
http://www.experts-exchange.com/Programming/Languages/C/Q_24016665.html
I tried to run the following script in command prompt in UNIX , it works fine.
cal 8 2006 | grep -v "[A-Z]" | cut -c4-17 | awk -f /aaa/home/scripts/aaa_oli_valo_all/formatit.awk - 8 2006 > /aaa/h...
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_21978033.html
Hi All,
I have a XML file which i want to search an element with two set of values in the PCDATA.
The element is CustomNoteTypeName and can have two values i.e. DBHA or DAKO.
If these two valu...
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Q_23826312.html
I have a text file as follows;
1256-5656 josh; barry
dd-<55> test
4566-7777 james;john
ss-kkk test_2
4566
7777-9999 sean;penn
dd<66> test_3
I would like to write a awk script that m...
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/bash/Q_23873086.html
I'm parsing a logfile for referring pages.
I want to structure my script such that I can pass a variable to awk to tell it which URL to use as the referring page. I can't figure out how to pass th...
http://www.experts-exchange.com/Programming/Processor_Platforms/Q_20965307.html
Zones:
Proce...Date Answered: 04/26/2004 Rating: 6.6 Views: 175
I am developing a shell script that will log into remote boxes and check the number of users logged on by using uptime. I kno I could do this with something like who | wc -l, however I'm already u...
http://www.experts-exchange.com/Programming/System/Linux/Q_21605324.html
Zones:
Linux DevDate Answered: 10/25/2005 Rating: 7.6 Views: 0
$ ps vx | head -1 ; ps vx| egrep âÃÂÃÂv âÃÂÃÂidsldap | rootâÃÂà| grep âÃÂÃÂv PID |sort âÃÂÃÂrn +3 | head -10
PID TTY STAT TIME MAJFL TRS DRS...
http://www.experts-exchange.com/Programming/System/Linux/Q_22964584.html