#!/usr/bin/awk -f # (c) 2007-2009 Stephane Fillod # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # This program is to be piped from: # tests/rigctl -l |sort -n | rig_split_lst.awk BEGIN { bkendlst[0]="dummy" bkendlst[1]="yaesu" bkendlst[2]="kenwood" bkendlst[3]="icom" bkendlst[4]="pcr" bkendlst[5]="aor" bkendlst[6]="jrc" bkendlst[7]="radioshack" bkendlst[8]="uniden" bkendlst[9]="drake" bkendlst[10]="lowe" bkendlst[11]="racal" bkendlst[12]="wj" bkendlst[13]="ek" bkendlst[14]="skanti" bkendlst[15]="winradio" bkendlst[16]="tentec" bkendlst[17]="alinco" bkendlst[18]="kachina" bkendlst[19]="rpcrig" bkendlst[20]="gnuradio" bkendlst[21]="microtune" bkendlst[22]="tapr" bkendlst[23]="flexradio" bkendlst[24]="rft" bkendlst[25]="kit" bkendlst[26]="tuner" bkendlst[27]="rs" bkendlst[28]="unknown" if (lst_dir == "") lst_dir="." else lst_dir=lst_dir for (bke in bkendlst) { print "
" \ "" \ "
Rig# | Mfg | Model | " \ "Vers. | Status |
%d | " \ "%s | %s | %s | %s |