Enter Keywords:
1 - 10 of 23(0.023 seconds)
Sort By:
 
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...
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...
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...
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 ...
Zones: C, HP-UX Unix, bashDate Answered: 12/30/2008 Rating: 8.7 Views: 0
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...
Zones: Unix Systems ProgrammingDate Answered: 10/06/2006 Rating: 6.2 Views: 0
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...
Zones: Shell Scripting, ksh, A...Date Answered: 11/28/2008 Rating: 7.1 Views: 0
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...
Zones: bash, Regular ExpressionsDate Answered: 11/03/2008 Rating: 9.1 Views: 0
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...
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...
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...
Zones: Linux Dev, Unix OSDate Answered: 12/02/2007 Rating: 8.8 Views: 8