Search Results

Search: Posts Made By: kivale
1,507
Posted By nezabudka
strange file format "csv" you have :)
strange file format "csv" you have :)
1,507
Posted By nezabudka
Hi kivale, try this grep -x "[0-9]\+"...
Hi kivale,
try this
grep -x "[0-9]\+" getnumber.csv
1,591
Posted By RudiC
How about awk '{match ($0,...
How about


awk '{match ($0, /count_berry/); split (substr ($0, RSTART), T); print $6, T[3]}' file
1,591
Posted By MadeInGermany
In this case it is $(i+2) awk '{ for ( i=1; i...
In this case it is $(i+2)
awk '{ for ( i=1; i <= NF; i++ ) if ( $i==var ) print $6,$(i+2) }' var='"count_berry"' file
1,591
Posted By nezabudka
Try so awk '{ for ( i=1; i <= NF; i++ ) if ( $i...
Try so
awk '{ for ( i=1; i <= NF; i++ ) if ( $i ~ var ) print $6,$i }' var=count_berry file
3,733
Posted By nezabudka
:) sort -Vr testing.csv | sort -ut, -k1,1 I...
:)
sort -Vr testing.csv | sort -ut, -k1,1
I apologize, forgot to refresh the page, did not see the answer
Showing results 1 to 6 of 6

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