lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a8e1da0706290226s4aade342lc03a988a0f0b817e@mail.gmail.com>
Date:	Fri, 29 Jun 2007 09:26:08 +0000
From:	"Dave Young" <hidave.darkstar@...il.com>
To:	"Björn Steinbrink" <B.Steinbrink@....de>,
	"Josh Triplett" <josh@...nel.org>,
	"Jan Engelhardt" <jengelh@...putergmbh.de>,
	"Kyle Moffett" <mrmacman_g4@....com>,
	"Dave Young" <hidave.darkstar@...il.com>,
	"Li Yang-r58472" <LeoLi@...escale.com>,
	"Chris Shoemaker" <c.shoemaker@....net>,
	"Josh Triplett" <josht@...ux.vnet.ibm.com>,
	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [OT] Vim highlighting for trailing spaces

On 6/29/07, Björn Steinbrink <B.Steinbrink@....de> wrote:
> On 2007.06.29 01:42:22 -0700, Josh Triplett wrote:
> > Jan Engelhardt wrote:
> > > On Jun 29 2007 00:53, Josh Triplett wrote:
> > >> And if you really want highlighting, you can always use grep --color. :)
> > >
> > > Been there, done that, have GREP_COLOR env variable defined!
> >
> > Same here.  Now I just need to convince git-grep to use it.
>
> You need to convince grep. When piping its output to less, it won't
> colorize unless forced. Always forcing color via GREP_OPTIONS might
> break certain use-cases, and git-grep doesn't allow to pass options. So
> for me, a bash alias it is:
>
> alias gg='GREP_OPTIONS=--color=always git-grep'
>
> You might need to set LESS=-R in addition to that, to stop less from
> stripping the color codes.
>
> Björn
>
I ussualy prefer the simple vim search command:
/\ *$
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ