Debian Codegraph @

print-columns

raw
1 #!/bin/sh
2
3 # Public domain notice for all NCBI EDirect scripts is located at:
4 # https://www.ncbi.nlm.nih.gov/books/NBK179288/#chapter6.Public_Domain_Notice
5
6 # MUST be called with single quotes, e.g.:
7 # print-columns '$1, $2+1, $3-1, "\042" $4 "\042", tolower($5), total += $2'
8 awk -F '\t' -v 'OFS=\t' -v YR="$(date +%Y)" -v DT="$(date +%Y-%m-%d)" "{print $*}"