From 584a820a77335652e36826e0b1ef5ad168af61d5 Mon Sep 17 00:00:00 2001 From: Jamie McClelland Date: Fri, 17 Sep 2010 15:22:30 -0400 Subject: output number of lines in file rather than contents of file when appending. --- share/keyringer/append | 3 +-- 1 file changed, 1 insertion(+), 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:" -- cgit v1.2.3