goog 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/goog +2 -1
- data/lib/goog.rb +1 -1
- metadata +1 -1
data/bin/goog
CHANGED
@@ -165,7 +165,8 @@ if options[:interactive]
|
|
165
165
|
end
|
166
166
|
n = s[/\d+/,0].to_i
|
167
167
|
pipe = s[/[|>].*$/,0] || '| less'
|
168
|
-
|
168
|
+
link = links[n - 1]
|
169
|
+
cmd = "(echo \"#{link}\n\n\"; elinks -dump -no-numbering '#{link}') #{pipe}"
|
169
170
|
system cmd
|
170
171
|
}
|
171
172
|
end
|
data/lib/goog.rb
CHANGED