script help

Oliver Marshall Oliver.Marshall at g2support.com
Mon Aug 23 09:16:35 UTC 2010


Hi chaps,

Can someone help me with a script/grep syntax please? I have a string within an HTML file downloaded by wget.

The string is "Antivirus Pattern - Win vx.yyy.z"

I need to find that string and then pass "xyyyz" to the console pass to the next command in the chain (note the lack of v and the ".").

Any ideas how I can do this ?

Olly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100823/da9cfc27/attachment.html>


More information about the ubuntu-users mailing list