Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1019660: console-setup: grep: warning: stray \ before #

217 views
Skip to first unread message

Jakub Wilk

unread,
Sep 13, 2022, 6:50:04 AM9/13/22
to
Package: console-setup
Version: 1.210
Severity: minor
Control: affects -1 + initramfs-tools

With grep (>= 3.8), I'm getting this warning:

# setupcon
grep: warning: stray \ before #


-- System Information:
Architecture: i386

Versions of packages console-setup depends on:
ii debconf 1.5.79
ii console-setup-linux 1.210
ii xkb-data 2.35.1-1
ii keyboard-configuration 1.210

--
Jakub Wilk

Vincent Lefevre

unread,
Sep 19, 2022, 10:30:04 PM9/19/22
to
Control: tags -1 patch

On 2022-09-13 12:42:11 +0200, Jakub Wilk wrote:
> With grep (>= 3.8), I'm getting this warning:
>
> # setupcon
> grep: warning: stray \ before #

I've attached a patch to fix this issue and other grep usage issues.

--
Vincent Lefèvre <vin...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
setupcon-grep.patch

Philip Hands

unread,
Oct 24, 2022, 4:51:05 AM10/24/22
to
Hi Vincent,

Prompted by your patch
I've created this MR:

https://salsa.debian.org/installer-team/console-setup/-/merge_requests/16

Thanks for the patch, without which I may not have noticed the chance to
continue my eternal quest against `grep | sed` pipelines :-)

Cheers, Phil.
--
|)| Philip Hands [+44 (0)20 8530 9560] HANDS.COM Ltd.
|-| http://www.hands.com/ http://ftp.uk.debian.org/
|(| Hugo-Klemm-Strasse 34, 21075 Hamburg, GERMANY
signature.asc
0 new messages