5

Search for the word and exporting 35 characters after that word using shell script

view full story
linux-howto

http://www.unix.com – I have a file input.txt which have loads of weird characters, html tags and useful materials. I want to display 35 characters after the word "description" excluding weird characters like $&lmp and without html tags in the new file output.txt. Help me. Thanx in advance. I have attached the input file. Please help me. It's urgent. Input sample: Code: </image>   <title>A Londoner Looks Back: Were The Olympics Awesome?</title>   <link>http://www.askmen.com/sports/fanatic/london-olympics-post-mortem.html</link>   <description rd (HowTos)