]> gitweb.fluxo.info Git - keyringer.git/commitdiff
output number of lines in file rather than contents of file
authorJamie McClelland <jm@mayfirst.org>
Fri, 17 Sep 2010 19:22:30 +0000 (15:22 -0400)
committerJamie McClelland <jm@mayfirst.org>
Fri, 17 Sep 2010 19:22:30 +0000 (15:22 -0400)
when appending.

share/keyringer/append

index be6bc7fd2f2679a748a2a28fe9769df4f52fce25..1e91d6fed238c15a4c04b7daf6d35307a5ce9977 100755 (executable)
@@ -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:"