Search Results

Search: Posts Made By: enes71
54,907
Posted By Chubler_XL
How about something like this: clear reset ...
How about something like this:
clear
reset
set key off
set border 3
set auto

set xrange[0:-100]
set xtics 5

# Make some suitable labels.
set title "Demo graph"
set xlabel "Value"
set...
3,551
Posted By Franklin52
Something like this? awk '$3 && int($3)==$3 &&...
Something like this?
awk '$3 && int($3)==$3 && $3<100' file
2,399
Posted By bakunin
Just to expand on what vgersh99 said. The...
Just to expand on what vgersh99 said.

The offending part of your code is the "i++":


You increase the variable "i" two times for each record, so the $2 of the first line is stored in "t[0]",...
2,399
Posted By vgersh99
#!/usr/bin/awk -f { t[FNR]=$2 ...
#!/usr/bin/awk -f
{
t[FNR]=$2 #only second and fifth field i want to extract
rssi[FNR]=$5
fnr=FNR
}
END {
for (i=1;i<=fnr;i++)
{
print t[i]
...
Showing results 1 to 4 of 4

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