can some body expaly me this command
sed -e 's/<[^>]*>//g' test > test.t
thank you
can some body expaly me this command
sed -e 's/<[^>]*>//g' test > test.t
thank you
Jump to PostIt removes html/xml style tags from the input file.
s/ # Search for ... < # Something that begins with '<' [^>] # and continue while there isn't a '>' * # for zero-or more characters > # Ending with a '>' character // # replace previous …
It removes html/xml style tags from the input file.
s/ # Search for ...
< # Something that begins with '<'
[^>] # and continue while there isn't a '>'
* # for zero-or more characters
> # Ending with a '>' character
// # replace previous match with the empty string
g # do this globally for each line
This matches (and removes) things like <tag parameter=value>
ro <html>
.
thank you
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.
You're trying to visit a URL that doesn't currently exist on the web. Most likely, a member posted a link a long time ago to a web page that has since been removed. It's also possible that there was a typo when posting the URL. We redirect you to this notice instead of stripping out the link to preserve the integrity of the post.