Search Results

Search: Posts Made By: Bugenhagen
2,100
Posted By Bugenhagen
Comparing multiple variables
Hi!

I've come up with a ksh-script that produces one or more lists of hosts.
At the and of the script, I would like to print only those hosts that exists in all the lists.

Ex.
HOSTS[1]="host1...
272,077
Posted By Bugenhagen
Holy Smoke!
Ok, Matrixmadhan, Your solution worked like a charm!

The only bad thing is that I have spent many days on this ....
Tried sed, awk.
Tried to understand lex/yacc.
Stupid, stupid me ...

Thanks...
272,077
Posted By Bugenhagen
Sample
Hi!

Input file is from AIX/nmon.
(This is a cut-down version)
-----------------------------------------------------
AAA,progname,nmon_aix53# <-------Header starts here...
272,077
Posted By Bugenhagen
Print-outs in END
Hi!
Thank You for answering.

I need to do the print-out in the END-statement, when NR is already at the last row.

This is because my lineNr-array is quite large and every number is the...
272,077
Posted By Bugenhagen
How to print specific lines with awk
Hi!

How can I print out a specific range of rows, like "cat file | awk NR==5,NR==9", but in the END-statement?

I have a small awk-script that finds specific rows in a file and saves the line...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 03:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy