Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Ernst
1,530
Posted By Corona688
I'm assuming you want column 2 * 75 / 2100 ? ...
I'm assuming you want column 2 * 75 / 2100 ?

awk -v a=$a -v b=$b '{ print $1, $2, ($2*a)/b; }'
1,101
Posted By panyam
awk -F"[:[]" 'NF==1{print ;...
awk -F"[:[]" 'NF==1{print ; next}{if($2<14&&$2!=""){$0=$1":"$2"[dB]"; print $0}} ' input_File
3,009
Posted By ctsgnb
Ok let's make it work : go in ksh first! ksh...
Ok let's make it work : go in ksh first!

ksh
Then retry with nawk or /usr/xpg4/bin/awk (but not simple 'awk')

nawk -v N="$(( $(grep '>' yourinputfile | wc -l) ))"...
Showing results 1 to 3 of 3

 

Featured Tech Videos

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