From 161d6f79bd6f4ab45afa1cbae77548c8e508809a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 26 Jul 2004 23:33:51 -0400 Subject: initial rev of 2.0 --- scripts/entry | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 scripts/entry (limited to 'scripts/entry') diff --git a/scripts/entry b/scripts/entry deleted file mode 100755 index 28daf8c8..00000000 --- a/scripts/entry +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -if [ -z "$LEDGER" -o ! -r $LEDGER ]; then - echo Please set your LEDGER environment variable. -fi - -line=`wc -l $LEDGER | awk '{print $1}'` - -if ledger entry "$@" > /tmp/entry; then - cat /tmp/entry >> $LEDGER -else - echo "$@" >> $LEDGER -fi -rm /tmp/entry - -vi +$line $LEDGER -- cgit v1.2.3