Re: [PATCH] mk: don't escape '#' for `grep`

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

On Thu, Feb 27, 2025 at 08:00:20PM +0100, Alejandro Colomar wrote:
> > Alternatively, you could take advantage of the fact that in some shell
> > contexts # and \# mean the same thing:
> > 
> >   foo := $(shell echo ''\#)
> 
> Hmmm, sounds reasonable, since a # not preceeded by a space is not a
> comment.
> 
> 	alx@debian:~$ echo ''\#
> 	#
> 	alx@debian:~$ echo ''#
> 	#
> 
> I'll take this workaround.  I'll put this on the commit:
> 
> 	Reported-by: Sergei Trofimovich <slyich@xxxxxxxxx>
> 	Cc: Florian Weimer <fw@xxxxxxxxxxxxx>
> 	Cc: Boris Pigin <boris.pigin@xxxxxxxxx>
> 	Suggested-by: Jakub Wilk <jwilk@xxxxxxxxx>

I've applied the suggestion by Jakub, which you can find here:
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=46b7bcaae3cbd18b3022caa3ddd52e7be66bb21a>

Tomorrow I'll push that to the master branch, if there are no concerns.

Since this probably affects packagers, I'll issue a new release in a few
days.


Cheers,
Alex

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux