Thank you!!! The solution was this:
cat text.txt | perl -ne 'print "$1\n" while (/href=\"(.+?)\"/ig)' | grep sourceforge | grep nvu 2009/2/11 Michael Iatrou <[email protected]> > When the date was Wednesday 11 February 2009, Nagy Daniel wrote: > > > the "text" is here: > > > > http://pastebin.com/f37214a30 > > > > and I only want this string: > > > > > http://downloads.sourceforge.net/portableapps/nvu_portable_1.0_rev_5_en-u > >s.paf.exe?download > > It seems to me that you only want to grab urls. This should (kind of) do > the > trick: > > cat f37214a30.txt | perl -ne 'print "$1\n" if (/href=\"(.+?)\"/ig)' > > f37214a30.txt is a file with the snippet you uploaded. > > -- > Μιχάλης Ιατρού (tljw) > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact > [email protected] > >

