# Eric Blossom - January 2002 # see http://www.cse.ucsc.edu/research/compbio/rdb/rdbtable.html BEGIN { FS = "\t"; OFS = FS; } 1 == NR { print "# This is a generic header for an RDB file."; print "# The headings below need to be edited."; print "# The column formats also."; if ( 1 <= NF ) { printf( "-oOo-" ); } for ( i = 1; i < NF; i++ ) { printf( "%s-oOo-", OFS ); } print ""; if ( 1 <= NF ) { printf( "20" ); } for ( i = 1; i < NF; i++ ) { printf( "%s20", OFS ); } print ""; } { print; }