Hewlett Packard Enterprise Community
Showing results for 
Search instead for 
Do you mean 
Correction.. the last part should look like this: awk '/spid/{x=1;y=0}/TYES Lock => Oct 23, 2004 ...
by on ‎10-23-2004 04:02 AM
0 Replies 250 Views
0 Replies
250 Views
I think you're right... but interestingly if I hardcode the LINE value... awk -v line="TYES Lock...
by on ‎10-23-2004 03:35 AM
0 Replies 250 Views
0 Replies
250 Views
I think if I put it in single quotes the first one would end the one outside my awk... awk '/.......
by on ‎10-23-2004 03:23 AM
0 Replies 250 Views
0 Replies
250 Views
How do I pass in a variable as a search pattern in my awk statement? I have a line read from a fi...
by on ‎10-23-2004 02:48 AM Latest posted on ‎10-23-2004 04:02 AM by
5 Replies 250 Views
5 Replies
250 Views
Thanks.. I have another question though... I get output like this... 1654.28 2498.07 How ...
by on ‎10-21-2004 06:18 AM
0 Replies 230 Views
0 Replies
230 Views
I was using tail but I already have an awk program and didn't want to deviate away from it... I'll ...
by on ‎10-21-2004 06:11 AM
0 Replies 230 Views
0 Replies
230 Views
0 Awaiting Message 7856545 458458454 9987787 0.0 0.0 0.0 0.0 0.1 0.2 ...
by on ‎10-21-2004 06:00 AM
0 Replies 230 Views
0 Replies
230 Views
The example I was looking for isn't in there. I need to know what the end of file flag is in awk?? ...
by on ‎10-21-2004 05:45 AM
0 Replies 230 Views
0 Replies
230 Views
0 Replies
359 Views
How do I print from a certain spot in a file to the end of the file?? awk '/Start/?????/ {print $...
by on ‎10-21-2004 05:30 AM Latest posted on ‎10-21-2004 02:13 PM by Honored Contributor
12 Replies 230 Views
12 Replies
230 Views
OK... how about printing out the lines where the first header is the same for every block but the...
by on ‎10-19-2004 03:40 AM
0 Replies 359 Views
0 Replies
359 Views
How about variables? start_time="Program Start => 10:47" end_time="Program End => 12:15" awk ...
by on ‎10-19-2004 02:54 AM
0 Replies 359 Views
0 Replies
359 Views
Given the following: Program Start => 10:47 name time day John 11:09 Monday Bill 11:1...
by on ‎10-19-2004 02:42 AM Latest posted on ‎10-21-2004 05:33 AM by
9 Replies 359 Views
9 Replies
359 Views
That works good except when I encounter the blank line: id fname lname -- ----- ----- It stil...
by on ‎10-15-2004 09:06 AM
0 Replies 378 Views
0 Replies
378 Views
/Start/{x=1;y=0}/Stop/{if (y>3){l[y]="\n"; while(i++ } produces: This report was run on Sat M...
by on ‎10-15-2004 09:00 AM
0 Replies 378 Views
0 Replies
378 Views
That produces the following: today is something id fname lname -- ----- ----- 1 John Wayne 2 ...
by on ‎10-15-2004 08:53 AM
0 Replies 378 Views
0 Replies
378 Views
Given: cat file.txt Start id fname lname -- ----- ----- 1 John Wayne 2 Bill Smith Stop Sta...
by on ‎10-15-2004 08:42 AM Latest posted on ‎10-16-2004 05:34 AM by Honored Contributor
9 Replies 378 Views
9 Replies
378 Views
I see now that the variable is getting passed corectly.. my error is now in my script. I'm going t...
by on ‎10-13-2004 10:31 AM
0 Replies 521 Views
0 Replies
521 Views
Here's what I get... (changed the variables to do a time range instead...) server_time="07:08:55...
by on ‎10-13-2004 10:01 AM
0 Replies 521 Views
0 Replies
521 Views
Actually it dosn't work either way... Instead of the string 'jamie' I get: if $2 = server I...
by on ‎10-13-2004 09:47 AM
0 Replies 521 Views
0 Replies
521 Views