Home      Updates      RSS Feed      About      Code      Contact

  Automatic update-making script May  2 2011  3:02 PM EST

I've created a rather brief update-making script for use with the current system. It doesn't do much, but it does everything I need it to do so far. You can take a look here:

#!/bin/sh
LAST=`ls updates/ -1 | tail -n1`
NEXT=`echo $LAST + 1 | bc`
NFILE=`seq -w $LAST $NEXT | tail -n1`

vim updates/$NFILE
echo "$NFILE|`date +'%b %d %Y'`|`date +'%l:%M%p'` EST" >> udates

 

My name is Jeff Chapman; You can reach me at: [email protected]