I have a file have lots of string tags like </usr/share/some_pattern>
, all they have in common is they all begin with a <
and end with a >
, how can write a bash script to remove all these tags(including the strings inside)?
views:
33answers:
1
jyzuz
2010-09-09 18:40:43
Or in Emacs: `M-x replace-regexp RET <[^>]*> RET RET C-x C-s C-x C-c`
Philipp
2010-09-09 21:06:13