#!/bin/bash

table=$1
editfile=junk.jnk

let key=`tail -n1 $table | cut -f1`+1

cat $editfile | ./nosadd.awk  $key >> $table
#cat $tempfile2 | ./nosadd.awk $key >> $table
tail -n4 $table


