[Bug 1055766] Re: grep -R doesn't automatically search amazon
akeane
akeane at massif-software.com
Wed Sep 26 19:33:09 UTC 2012
jcord, I really like your hypercube mall terminal idea, but alas I fear
it will run slowly on my Commodore-64 :-(
Mr Shuttleworth's grep --universe idea is a far more pragmatic solution for us users who can't afford the latest Cray
supercomputer to do our grepping with.
For the moment I have a simple shell script wrapper to workaround the bug:
___________
!#/bin/sh
# terminal-ad (C) 1984 akeane conglomerates Inc
# LICENSE: One of the GPL thingies, full text here: http:// interwebz, don't steal this code and post to BBS!!!
if [$USER != "root"]
then
echo "Warning: Must be Mark!"
exit :-(
fi
telnet www.amazon.com 80 &
<<<HERE
get #hl=en&output=search&sclient=psy-ab&q=$*
>>>THERE
exec $*
___________
Granted, it's not very elegant or even works, but it'll do for now, it's
gonna take ages to patch all of the GNU tools!
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/1055766
Title:
grep -R doesn't automatically search amazon
Status in Ayatana Design:
Opinion
Status in “command-not-found” package in Ubuntu:
Invalid
Status in “gnome-terminal” package in Ubuntu:
Invalid
Bug description:
Dear "root owning" overlords,
When using grep recursively I only get local results:
grep -R fish_t /home/noob/fish_game/*
/home/noob/fish_game/fish.h: struct fish_t {
/home/noob/fish_game/fish.c: struct fish_t eric_the_ fish;
or worse:
grep -R shark_t /home/noob/fish_game/*
/home/noob/fish_game/fish.h: struct shark_t {
/home/noob/fish_game/fish.c: struct shark_t_t mark_sw;
I declare this a bug for two reasons:
1. The output is boring.
2. The terminal has more than 2 lines!!! It's an unefficient use of my screenspace.
I believe the reason for this is that the grep command only searches
locally for things I am actually looking for, I kind of expect the
results I get from my codebase and as such it removes any sense of
mystery or something new and exciting to spice up my dull geek
existence. That's boring, grep -R should also search amazon, so I get
more exciting results such as:
Shark Season 1 Starring Steven Eckholdt, Nora Dunn, Patrick Fabian, et al.
Amazon Instant Video
to buy episodes: $1.99
to buy season: $34.99 ($1.59 per episode)
Watch instantly on your PC, Mac, compatible TV or device.
2.
Product Details
See Color & Size Options
NHL San Jose Sharks Primary Logo T-Shirt Men's by Reebok
$16.95 - $19.99
new from $16.95
(1)
Eligible for FREE Super Saver Shipping.
3.
Product Details
See Size Options
Shark Week Girls T-Shirt by Hot Topic
$22.50
See all 9,755 results
"struct shark_t" (See all 1,583 results)
1.
Product Details
See Size Options
D:fi D:struct Pliable Molding Creme by D:Fi
$23.50 $17.05 ($11.37/100 g)
new from $10.50
Only 7 left in stock - order soon.
(35)
Eligible for FREE Super Saver Shipping.
2.
Product Details
Take 'N' Play Anywhere Activities Activity Tin - Robo-struct by Patch Products
$11.99 $8.77
new from $3.99
Order in the next 1 hour and get it by Tuesday, Sep 25.
Only 12 left in stock - order soon.
(1)
Eligible for FREE Super Saver Shipping.
Manufacturer recommended age: 4 - 9 Years
3.
Product Details
d:fi d:struct 2.65 oz by AMERICAN CREW
This is less dull and also maximises the use of my terminal and hence
increases my productivity.
Please can you change the grep warez to have this feature, and just
install it on my machine while I'm down the pub, after all you do
"erm, have root", so it should be easy for you to do :-)
Thanks Ubuntu devs!!!
Sent from my Unity device, (which is why it took several glacial ages
and a couple of eras to get it done)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-terminal 3.0.1-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Mon Sep 24 22:20:29 2012
ExecutablePath: /usr/bin/gnome-terminal
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
SourcePackage: gnome-terminal
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ayatana-design/+bug/1055766/+subscriptions
More information about the foundations-bugs
mailing list