Search Results

Search: Posts Made By: gengar
964
Posted By gengar
trouble with gawk and columns
I am trying to make a script that would take the highest value of each columns for example

cat file
0 0 0 0
0 8 9 1
3 8 3 9
7 7 7 7

the...
Forum: Programming 12-07-2010
1,589
Posted By gengar
thanks I kinda figured it out, it wasn't the...
thanks I kinda figured it out, it wasn't the perfect way but it worked. heres the code in case anyone needs it in the future.



let arg=$1
gawk < file '{{
if ($3 <= '$arg')
{...
Forum: Programming 12-06-2010
1,589
Posted By gengar
need help with gawk script
hi i've already created this script. When I execute the script it takes the argument and compares it to the 3rd column of the script. What I was wondering if I could get some help with is. I want to...
Forum: Programming 12-01-2010
1,147
Posted By gengar
thank you very much jsmithstl!! works perfectly
thank you very much jsmithstl!! works perfectly
Forum: Programming 12-01-2010
1,147
Posted By gengar
extracting information from lines, put them into arrays
hi
I need a little help writing this small perl script. I'm trying to extract the values from each line in a file and find the average for example

cat school
Highschool 100, 123, 135...
Showing results 1 to 5 of 5

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