Search Results

Search: Posts Made By: afavis
12,837
Posted By afavis
OK, I went with a slightly different approach. ...
OK, I went with a slightly different approach.

#!/bin/ksh

query | awk '$1 == row1 {printf ""$2"\n"}' row1=$row1 > file1

comm -1 -3 file1 file2 > file3
#file2 is just a file with every value...
12,837
Posted By afavis
Thanks for the suggestions!
Thanks for the suggestions!
12,837
Posted By afavis
ksh/awk help - output missing numbers
Here is what I am trying to do:

I have a list of numbers that I pulled from an awk command in a column like so:

1
3
4
7
8

I want to find which numbers in the list are missing out of a...
Showing results 1 to 3 of 3

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