diff options
Diffstat (limited to 'contrib/entry')
-rwxr-xr-x | contrib/entry | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/entry b/contrib/entry index cc030d8e..ef1869da 100755 --- a/contrib/entry +++ b/contrib/entry @@ -6,11 +6,11 @@ fi line=`wc -l $LEDGER | awk '{print $1}'` -if ledger entry "$@" > /tmp/entry; then - cat /tmp/entry >> $LEDGER +if ledger xact "$@" > /tmp/xact; then + cat /tmp/xact >> $LEDGER else echo "$@" >> $LEDGER fi -rm /tmp/entry +rm /tmp/xact vi +$line $LEDGER |