Last modified: 2010-05-15 15:48:24 UTC
$ lynx -dump -listonly \ 'http://en.wikipedia.org/wiki/Special:Search?search=ecma+script&fulltext=Search'| grep /ECMA 11. http://en.wikipedia.org/wiki/ECMA-Script 12. http://en.wikipedia.org/wiki/ECMA_Script 13. http://en.wikipedia.org/wiki/ECMAScript Surely only one is the real page, and the rest are redirects, but no note of this is given on the search results.
The search page show the first line of text, for redirects it shows: #REDIRECT [[foobar]] So it works for me. You might want to parse the output instead.
*** This bug has been marked as a duplicate of 3174 ***