nix, shell, perl, php, mysql and mac os x tips and tricks

Thursday, May 20, 2010

sed one-liner for removing HTML tags from a file

sed -e 's/<[^>]*>//g' myfile.html

Monday, May 10, 2010