diff options
Diffstat (limited to 'mqq.sh')
-rwxr-xr-x | mqq.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3,4 +3,7 @@ #message_id=$(grep -E -i "^Message-id:" | sed -e 's/.*<\(.*\)>/\1/') BODY=$(sed -n '/^Date/,$ p' | grep -E -i '^[^X]+' | sed -En '/^Date/,/application\// p') -echo "${BODY}" | sed -En '/^Date/,/text\/html/ p' > /home/lxf/notes/"$1".txt +echo "${BODY}" | sed -En '/^Date/,/text\/html/ p' > /tmp/output.txt\ +&& vivaldi-snapshot /tmp/output.txt \ +&& read -n 1 \ +&& rm /tmp/output.txt |