[Previous] [Next] [Up] [Top] [Edit]

#!/bin/ksh
#

database=$1

datacols=$(headline < $database)

datestamp=$()

start=$(counter -lock)

column -n -a $DATECOL $COUNTER \ | compute "$DATACOL=$datestamp ; Number+=$counter-1" \ | headoff Number=$COUNTCOL $datacols >> $database

counter -free

[Previous] [Next] [Up] [Top] [Edit]