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