summaryrefslogtreecommitdiff
path: root/scripts/entry
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-05 13:17:04 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-05 18:05:49 -0400
commitf6f4a46cf5b14f9a2170cd6475958efbf320caec (patch)
tree05bc1defcdebc201de3dd10477483d906a842821 /scripts/entry
parentb7970b29855563e4c67f85af8b31233eda80c22a (diff)
downloadfork-ledger-f6f4a46cf5b14f9a2170cd6475958efbf320caec.tar.gz
fork-ledger-f6f4a46cf5b14f9a2170cd6475958efbf320caec.tar.bz2
fork-ledger-f6f4a46cf5b14f9a2170cd6475958efbf320caec.zip
Moved around most of the files so that source code is in src/, documentation
is in doc/, etc.
Diffstat (limited to 'scripts/entry')
-rwxr-xr-xscripts/entry16
1 files changed, 0 insertions, 16 deletions
diff --git a/scripts/entry b/scripts/entry
deleted file mode 100755
index cc030d8e..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