diff options
author | luxagraf <sng@luxagraf.net> | 2024-09-11 20:09:18 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-09-11 20:09:18 -0500 |
commit | 93fc6a27f01fbe325c95008b7f336627152ea3c7 (patch) | |
tree | 73171981a4a9b7b145687b10995fb98c051982d0 /mqq.sh | |
parent | 558d3c8503879871c9b291839ef4b15fe85c5e88 (diff) |
added new download tools
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 |