News for hackers. Stuff that matters.
Re:“grep -R doesn't automatically search amazon” by tedunangst on Tuesday September 25, 2012 @05:26PM (#4572755)
It could write the output to stderr. Or only write it if stdout is a terminal. Or create a new window that temporarily overlays the xterm running the command.

Yes, amazon-enabled dash and grep/find/whatever have different functionality. But that's a recent change. Previously, dash had exactly the same functionality. That's the entire point. You add a feature here, you add the same feature there.

Re:“grep -R doesn't automatically search amazon” by jlgreco on Tuesday September 25, 2012 @05:34PM (#4572793)
So now grep prints advertisements if I have it print to a tty, but not if I have it print to a pipe that goes to a pager? Which I almost certainly would be doing if advertisements are pushing my output over 20 or so lines? That is your idea of usability? Brilliant, just brilliant. I suppose I shouldn't even bother to ask what happens if I have tty output being consumed by another program.

>Or create a new window that temporarily overlays the xterm running the command.

You have got to be kidding me. This is a joke.

>Previously, dash had exactly the same functionality

The exact same functionality of which? And I rather doubt that is true.

>You add a feature here, you add the same feature there.

No. No you do not. Not when there is standardized. And in this case the "here"/"there" relationship has not even been established for "ubuntu-dash"/grep, making this extra idiotic.

Re:“grep -R doesn't automatically search amazon” by hackmiester on Tuesday September 25, 2012 @07:06PM (#4573226)
>This is a joke.

Uh, yeah?

Re:“grep -R doesn't automatically search amazon” by jlgreco on Tuesday September 25, 2012 @07:09PM (#4573245)
This thread started with "Snark aside, it's a valid point. Shouldn't CLI tools mimic GUI tools?"