blob: fb3f82790052a4a2d8fef37418b3788b92a2bee3 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/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' > /tmp/output.txt\
&& vivaldi-snapshot /tmp/output.txt \
&& read -n 1 \
&& rm /tmp/output.txt
|