Debian Codegraph @

filter-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 # filter-columns '10 <= $2 && $2 <= 30'
8 awk -F '\t' -v 'OFS=\t' -v YR="$(date +%Y)" -v DT="$(date +%Y-%m-%d)" "( $* ) {print}"