[script][linux][sed] 快速移除 HTML tag 的 sed 用法

REF: https://www.youtube.com/watch?v=-xg766aPYro

#!/bin/bash
datetime=`date +%Y-%m-%d`
rm -f HD-A1.txt ; rm -f index.html ; wget ftp://60.250.120.233:99/Android/img/ ; cat index.html | sed -e 's/<[^>]*>//g'  | grep A1 > HD-A1.txt

mail -s "HD-A1 ROM is checked on $datetime" yourmail@gmail.com < HD-A1.txt


Leave a comment

Your comment


Warning: Undefined variable $user_ID in /var/www/sites/wordpress/wp-content/themes/librio/comments.php on line 67