#!/bin/sh
# tool for printing selected columns (1 or 2 choices)

if [ 0$2 = 0 ]
then
 awk '{print $'$1'}'
else
 awk '{print $'$1', $'$2'}'
fi