๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3413

Bug#1153230: bad awk regexp escape sequence `\#' in /usr/share/bug/linux-base-7.2.15+deb14-amd64/script

#3413
From: Vincent Lefevre
Date: Fri, 06 Nov 2026 12:10
57 lines
3328 bytes
Package: src:linux
Version: 7.2.15-1
Severity: normal
X-Debbugs-Cc: debian-amd64@lists.debian.org
User: debian-amd64@lists.debian.org
Usertags: amd64

When I report a bug against src:linux and answer y to

  Include network configuration and status from this computer?

I get

Include network configuration and status from this computer? y
awk: cmd. line:3: warning: regexp escape sequence `\#' is not a known regexp operator

This comes from /usr/share/bug/linux-base-7.2.15+deb14-amd64/script
which has

[...]
_add_etc_network_interfaces() {
  local file
  test -f /etc/network/interfaces || return 0

  echo '** Network interface configuration:' >&3

  while read file; do
    if ! [ -r "$file" ]; then
      echo "*** $file: unreadable" >&3
      echo >&3
      continue
    fi
    echo "*** $file:" >&3
    # Hide passwords/keys
    awk '$1 ~ /key|pass|^wpa-(anonymous|identity|phase|pin|private|psk)/ { gsub(".", "*", $2); }
         $1 == "ethtool-wol" { gsub(".", "*", $3); }
         !/^[[:space:]]*\#/ { print; }
        ' <"$file" >&3
    echo >&3
  done < <(_list_etc_network_interfaces)
}

add_network() {
  yesno "Include network configuration and status from this computer? " nop
  test $REPLY = yep || return 0

  _add_etc_network_interfaces
[...]

in particular

         !/^[[:space:]]*\#/ { print; }

-- 
Vincent Lefรจvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Technical Details
Message-ID: <NWqVz-abKb-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Vincent Lefevre <vincent@vinc17.net>
Newsgroups: linux.debian.bugs.dist,linux.debian.kernel
Subject: Bug#1153230: bad awk regexp escape sequence `\#' in /usr/share/bug/linux-base-7.2.15+deb14-amd64/script
Date: Fri, 06 Nov 2026 13:10:01 +0100
Message-ID: <NWqVz-abKb-7@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Nov  6 12:01:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.65
Reply-To: Vincent Lefevre <vincent@vinc17.net>, 1153230@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-amd64@lists.debian.org, debian-kernel@lists.debian.org
X-Debian-Pr-Message: report 1153230
X-Debian-Pr-Package: src:linux
X-Debian-Pr-Source: linux
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Reportbug-Version: 13.2.0+nmu1
X-Mailer-Info: https://www.vinc17.net/mutt/
User-Agent: Mutt/2.4.3+59 (844fcfe7) vl-188789 (2026-10-10)
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001026
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 57
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 6 Nov 2026 12:59:07 +0100
X-Original-Message-ID: <20261106115907.GA3941@disset.lip.ens-lyon.fr>