summaryrefslogtreecommitdiff
path: root/mqq.sh
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-09-11 20:09:18 -0500
committerluxagraf <sng@luxagraf.net>2024-09-11 20:09:18 -0500
commit93fc6a27f01fbe325c95008b7f336627152ea3c7 (patch)
tree73171981a4a9b7b145687b10995fb98c051982d0 /mqq.sh
parent558d3c8503879871c9b291839ef4b15fe85c5e88 (diff)
added new download tools
Diffstat (limited to 'mqq.sh')
-rwxr-xr-xmqq.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/mqq.sh b/mqq.sh
index 8fec93d..fb3f827 100755
--- a/mqq.sh
+++ b/mqq.sh
@@ -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