diff options
author | Jamie McClelland <jm@mayfirst.org> | 2010-09-17 15:22:30 -0400 |
---|---|---|
committer | Jamie McClelland <jm@mayfirst.org> | 2010-09-17 15:22:30 -0400 |
commit | 584a820a77335652e36826e0b1ef5ad168af61d5 (patch) | |
tree | cb299fc705d49f68bbdedddc0ea6b1c615eb0b14 | |
parent | 72e19d1146721d3e19b0ce45e0d7821a93e85ef2 (diff) | |
download | keyringer-584a820a77335652e36826e0b1ef5ad168af61d5.tar.gz keyringer-584a820a77335652e36826e0b1ef5ad168af61d5.tar.bz2 |
output number of lines in file rather than contents of file
when appending.
-rwxr-xr-x | share/keyringer/append | 3 |
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:" |