Guest User

Untitled

a guest
Apr 5th, 2015
212
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @@ -230,16 +230,16 @@ LogOutput () {
  2. StdOutput () {
  3. # StdOutput : This is the standard output when no options are used
  4.  
  5. - echo -e 'RF\tStrnght\tQuality\tSymbol\tVirtual\tName\t\tVirt#2\tName'
  6. + echo -e 'RF\tStrngth\tdBmV\tdBm\tQuality\tsnr\tSymbol\tVirt#1\tName\t\tVirt#2\tName\t\tVirt#3\tName\t\tVirt#4\tName\t\tVirt#5\tName'
  7. printf '%.0s-' {1..72}; echo
  8. - awk -v OFS='\t' '{print $3,$7,$9,$11,$16,$17,"\t"$20,$21,"\t"$24,$25,"\t"$28,$29,"\t"$32,$33,"\t"$36,$37}' \
  9. + awk -v OFS='\t' '{print $3,$7,($7 * 60 / 100 - 60),($7 * 60 / 100 -60 -48.75),$9,$9 / 100 * 33, $11,$16,$17,"\t"$20,$21,"\t"$24,$25,"\t"$28,$29,"\t"$32,$33,"\t"$36,$37}' \
  10. <<< "$ScanResults" \
  11. | sort -n
  12. }
RAW Paste Data