From: Jamie McClelland Date: Fri, 17 Sep 2010 19:22:30 +0000 (-0400) Subject: output number of lines in file rather than contents of file X-Git-Tag: 0.2.1~130 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=584a820a77335652e36826e0b1ef5ad168af61d5;p=keyringer.git output number of lines in file rather than contents of file when appending. --- 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:"