--- Shell.pm.orig Fri May 30 17:18:48 2003
+++ Shell.pm Mon Jun 2 10:39:03 2003
@@ -620,6 +639,9 @@
Display all links on a page
+The links numbers displayed can used by C<open> to directly
+select a link to follow.
+
=cut
sub run_links {
@@ -761,12 +783,17 @@
Open a link on the current page
-It opens the link whose text is matched by RE,
-and displays all links if more than one matches.
+<open> accepts one argument, which can be a regular expression or the number
+of a link on the page, starting at zero. These numbers are displayed by the
+C<links> function. It goes directly to the page if a number is used
+ or if the RE has one match. Otherwise, a list of links matching
+the regular expression is displayed.
+
+The regular expression should start and end with "/".
Syntax:
- open RE
+ open [ RE | # ]
=cut