[opensuse] GRRR - What re-enabled 'grep' results highlight after the last updates?
Damnit, I update and now the stupid grep highlight is re-enabled on my system. (leap 42.2). How do I turn it off again? In the past it was controlled by disabling /etc/profile.d/alias.bash That file doesn't exist on my system. Where is the setting hidden now? I want to nuke it, I don't ever want to see the moronic Las Vegas style lights on konsole again after grep. How do I shoot this dog in the head? (sorry Beagle humor) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
05.04.2017 03:55, David C. Rankin пишет:
Damnit,
I update and now the stupid grep highlight is re-enabled on my system. (leap 42.2). How do I turn it off again? In the past it was controlled by disabling
/etc/profile.d/alias.bash
That file doesn't exist on my system. Where is the setting hidden now?
grep --color=auto is default since its introduction in 2001 as far as I can tell.
I want to nuke it, I don't ever want to see the moronic Las Vegas style lights on konsole again after grep. How do I shoot this dog in the head? (sorry Beagle humor)
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov wrote:
05.04.2017 03:55, David C. Rankin пишет:
Damnit,
I update and now the stupid grep highlight is re-enabled on my system. (leap 42.2). How do I turn it off again? In the past it was controlled by disabling
/etc/profile.d/alias.bash
That file doesn't exist on my system. Where is the setting hidden now?
grep --color=auto is default since its introduction in 2001 as far as I can tell.
I don't get results in colour on my openSUSE 10.3. It must have changed later. On 10.3: # type grep grep is hashed (/usr/bin/grep) On leap422: # type grep grep is aliased to `grep --color=auto' On 11.4: # type grep grep is /usr/bin/grep On 12.3: # type grep grep is aliased to `grep --color=auto' -- Per Jessen, Zürich (8.1°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, Apr 5, 2017 at 8:46 AM, Per Jessen <per@computer.org> wrote:
Andrei Borzenkov wrote:
05.04.2017 03:55, David C. Rankin пишет:
Damnit,
I update and now the stupid grep highlight is re-enabled on my system. (leap 42.2). How do I turn it off again? In the past it was controlled by disabling
/etc/profile.d/alias.bash
That file doesn't exist on my system. Where is the setting hidden now?
grep --color=auto is default since its introduction in 2001 as far as I can tell.
I don't get results in colour on my openSUSE 10.3. It must have changed later.
You are right, I was confused. Default is still no color; it is "grep --color" without argument that defaults to "auto". Sorry. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Wed, 05 Apr 2017, Per Jessen wrote:
Andrei Borzenkov wrote:
05.04.2017 03:55, David C. Rankin ?????:
Damnit,
I update and now the stupid grep highlight is re-enabled on my system. (leap 42.2). How do I turn it off again? In the past it was controlled by disabling
/etc/profile.d/alias.bash
That file doesn't exist on my system. Where is the setting hidden now?
grep --color=auto is default since its introduction in 2001 as far as I can tell.
I don't get results in colour on my openSUSE 10.3. It must have changed later.
On 10.3: # type grep grep is hashed (/usr/bin/grep)
On leap422: # type grep grep is aliased to `grep --color=auto'
On 11.4: # type grep grep is /usr/bin/grep
On 12.1: by default it was grep --color=auto IIRC. Which I couldn't stand. Anyway: those colors seem to be for black on white, which is just wrong. Anyway: it was determined via LS_OPTIONS and thus on LS_COLORS, with the base settings seeming to be in /etc/profile and /etc/bash.bashrc Which led to: $ grep LS_COLORS /etc/profile.local unset LS_COLORS
On 12.3: # type grep grep is aliased to `grep --color=auto'
*bwah* I hate stuff like that. And assuming e.g. a black-on-white terminal with the coloring scheme etc. IF I WANT COLORS, I CAN USE THE OPTION OR DEFINE AN ALIAS MYSELF! MORONS! Oh, and all that is not specific to SUSE, mind you! -dnh --
There is of course also Advocaat, aka "alcoholic custard" [..]. Especially if you've got a bottle with a dodgy lid and then eagerly follow the instructions to shake before use. -- Peter Ah. Alcoholic bukkake. -- Jim
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
David Haller wrote:
I hate stuff like that. And assuming e.g. a black-on-white terminal with the coloring scheme etc.
IF I WANT COLORS, I CAN USE THE OPTION OR DEFINE AN ALIAS MYSELF!
MORONS!
In a way I share your sentiments, in another it would have taken me a veryyyy long time before figuring out that grep could highlight the hits. It's just such little improvements that sneak in, and ten years later I finally notice. For openSUSE, I would say the use-colour default was/is good, and fortunately easy to get rid off for those who don't want it. -- Per Jessen, Zürich (12.8°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/04/17 18:27, Per Jessen wrote:
David Haller wrote:
I hate stuff like that. And assuming e.g. a black-on-white terminal with the coloring scheme etc.
IF I WANT COLORS, I CAN USE THE OPTION OR DEFINE AN ALIAS MYSELF!
MORONS!
In a way I share your sentiments, in another it would have taken me a veryyyy long time before figuring out that grep could highlight the hits. It's just such little improvements that sneak in, and ten years later I finally notice. For openSUSE, I would say the use-colour default was/is good, and fortunately easy to get rid off for those who don't want it.
Are you sure? "man command" is usually an aide-memoire that is no use whatsoever unless you already know what you are looking for, and ime google is usually useless, either completely misunderstanding the question, or pointing you at "answers" by people who don't know what they're talking about (or, of course, pointing you at answers that were correct when they were written back in the stone age ...) Cheers, Wol -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Wols Lists wrote:
On 05/04/17 18:27, Per Jessen wrote:
David Haller wrote:
I hate stuff like that. And assuming e.g. a black-on-white terminal with the coloring scheme etc.
IF I WANT COLORS, I CAN USE THE OPTION OR DEFINE AN ALIAS MYSELF!
MORONS!
In a way I share your sentiments, in another it would have taken me a veryyyy long time before figuring out that grep could highlight the hits. It's just such little improvements that sneak in, and ten years later I finally notice. For openSUSE, I would say the use-colour default was/is good, and fortunately easy to get rid off for those who don't want it.
Are you sure?
Pretty much, yes. At some point ISTR wondering what made grep highlight the hits, and I went to figure it out. I don't recall any great frustrations in the process :-) -- Per Jessen, Zürich (12.6°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
First Per, then GRRR, only inferred "Wol" ... On Wed, 05 Apr 2017, Wols Lists wrote:
On 05/04/17 18:27, Per Jessen wrote:
David Haller wrote:
I hate stuff like that. And assuming e.g. a black-on-white terminal with the coloring scheme etc.
IF I WANT COLORS, I CAN USE THE OPTION OR DEFINE AN ALIAS MYSELF!
MORONS!
In a way I share your sentiments, in another it would have taken me a veryyyy long time before figuring out that grep could highlight the hits.
Yeah! so much fun if it's assuming a black-on-white terminal (what sick .... uses that anyway?) and *badaboom* you can't read shi* of the result of the ls or grep. Yahoooo! Ain't that progressive? NOT! Me? Pi**ed? You bet! BTW: got a patch against portage too because dark blue on black/darkgrey.
It's just such little improvements that sneak in, and ten years later I finally notice. For openSUSE, I would say the use-colour default was/is good, and fortunately easy to get rid off for those who don't want it.
Where exactly? I can't remember anything when this was introduced with ls first and then grep. Might be because of some own aliases etc. though. Or more likely, my own /etc/profile.local ;) I'm still pi**ed off to have to turn it off manually via /etc/profile.local* or some such. But in both cases, those neurons seem to have been to be put to a better use by now. Still pi**ed, but details ...
Are you sure?
100%!
"man command" is usually an aide-memoire that is no use whatsoever unless you already know what you are looking for,
Bullshit. I guess at least half of what I know about GNU/Linux comes from reading manpages. Or info-pages. Read from start to end. E.g. bash(1), getopt(3), etc. That does take some time, yes. And no one said it'd be easy. And it wasn't easy, back when. And it was good. And I think you've missed the "apropos" command thus far! The rest is from digging down into the official documentation. I'm kind of one "docu-holic", and it's been one of my pet peeves with SUSE packages that there wasn't _all_ available documentation enclosed (or in a -doc package). And it shows, don't it? [voting opened] ;) There is a "getting larger" region I refuse to get to know though, which can be summarized as P...ware. The reasons are manifold and even predate sy*hualp*d and its tendrils into more and more by quite a few years. But still, having understood basics of sy*hualp*d, I find myself guessing at a cause and then *tada* I would've been right. If I'd cared to answer. And I hate that. Seemingly understanding sy*hualp*d better than at least most indifferent users and possibly fanbois. *HUALP*. Sorry 'bout that. *making himself useful about the mess on the floor*
and ime google is usually useless,
SO JUST DON'T F***ING USE GOOGLE THEN! Fer fsck's sake! It's not as there's no alternatives! Crikey! At least, do not let google put you in your own "search" bubble... Use google with a fresh "private" profile, so google won't know about your previous activities and filters stuff accordingly, so that what you're looking for is not on page 142 or so because of your previous searches... *bwah!* How old are you? Ever thought about google's business model? No, google is not getting any usable data from me, no sirree! No cookies, and preferably not even the same IP! And I use a fake UA. And if you still can't find what you want: maybe you need to update your google-foo or search-foo! Brain 1.0 still rules! -dnh PS: manpages usually are terse. But digging in has it's rewards. e.g. the infamous getopt(3). Once you grokked that (and it _is_ complete), you grokked it. And all other getopt* etc. pages in the process. So, just toughen up a bit, get ready for some terse, concise reading, and you'll be enlightend. -- [..] a beaurocracy so huge it's members can't find their individual backsides without a procedure signed in triplicate and authorised by their supervisor, her manager, his aunt, and her grandson, then buried in peat bogs before being recycled as firelighters[2]. -- AndyC the WB with: [2] apologies to D. Adams -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* David C. Rankin <drankinatty@suddenlinkmail.com> [04-04-17 20:56]:
Damnit,
I update and now the stupid grep highlight is re-enabled on my system. (leap 42.2). How do I turn it off again? In the past it was controlled by disabling
/etc/profile.d/alias.bash
That file doesn't exist on my system. Where is the setting hidden now? I want to nuke it, I don't ever want to see the moronic Las Vegas style lights on konsole again after grep. How do I shoot this dog in the head? (sorry Beagle humor)
alias grep='command grep --color=never' -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 Photos: http://wahoo.no-ip.org/piwigo @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/04/2017 07:55 PM, David C. Rankin wrote:
Damnit,
I update and now the stupid grep highlight is re-enabled on my system. (leap 42.2). How do I turn it off again? In the past it was controlled by disabling
/etc/profile.d/alias.bash
That file doesn't exist on my system. Where is the setting hidden now? I want to nuke it, I don't ever want to see the moronic Las Vegas style lights on konsole again after grep. How do I shoot this dog in the head? (sorry Beagle humor)
Oh Geeze.... NEVERMIND -- I was ssh'ed into the wrong host when I attempted to fix it, alias.bash was there and grep/egrep/fgrep aliases nuked.... -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Andrei Borzenkov
-
David C. Rankin
-
David Haller
-
Patrick Shanahan
-
Per Jessen
-
Wols Lists