#!/bin/sh # #NAME # SumCol - sum of a column # #SYNOPSIS # SumCol N if [ $# -lt 1 ];then set 4;fi awk '{s += $'$1'} END {print s}'