summaryrefslogtreecommitdiff
path: root/mqq.sh
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-06-15 15:58:59 -0500
committerluxagraf <sng@luxagraf.net>2023-06-15 15:58:59 -0500
commitab987e10f154f5536bb8fd936ae0966e909fa969 (patch)
tree9de5076f38b71ececb1bc94f8d9d19170898d603 /mqq.sh
added all my scriptssynced/master
Diffstat (limited to 'mqq.sh')
-rwxr-xr-xmqq.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/mqq.sh b/mqq.sh
new file mode 100755
index 0000000..8fec93d
--- /dev/null
+++ b/mqq.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# $HOME/Scripts/mqq
+
+#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