aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie McClelland <jm@mayfirst.org>2010-09-17 15:22:30 -0400
committerJamie McClelland <jm@mayfirst.org>2010-09-17 15:22:30 -0400
commit584a820a77335652e36826e0b1ef5ad168af61d5 (patch)
treecb299fc705d49f68bbdedddc0ea6b1c615eb0b14
parent72e19d1146721d3e19b0ce45e0d7821a93e85ef2 (diff)
downloadkeyringer-584a820a77335652e36826e0b1ef5ad168af61d5.tar.gz
keyringer-584a820a77335652e36826e0b1ef5ad168af61d5.tar.bz2
output number of lines in file rather than contents of file
when appending.
-rwxr-xr-xshare/keyringer/append3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/keyringer/append b/share/keyringer/append
index be6bc7f..1e91d6f 100755
--- a/share/keyringer/append
+++ b/share/keyringer/append
@@ -27,9 +27,8 @@ IFS=$'\n'
CONTENT=($(keyringer_exec decrypt $BASEDIR $FILE))
-echo "This is the current content of $FILE:"
echo " "
-echo "$CONTENT"
+echo "$FILE currently has ${#CONTENT[@]} lines"
echo " "
echo "Now please write the content to be appended on $FILE, finnishing with Ctrl-D:"