Package: ucf
Version: 3.0043
Severity: important

While setting up mercurial (postinst script), I got severals of
the following warning:

grep: warning: stray \ before /

They come from

  safe_dest_file=$(echo "$dest_file" | perl -nle 'print "\Q$_\E\n"')

For instance,

  echo ab/cd | perl -nle 'print "\Q$_\E\n"'

outputs "ab\/cd". \Q...\E is designed for reuse by Perl, not for grep.

In the NEWS file for grep 3.8:

  Regular expressions with stray backslashes now cause warnings, as
  their unspecified behavior can lead to unexpected results.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-4-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ucf depends on:
ii  coreutils       8.32-4.1
ii  debconf         1.5.79
ii  sensible-utils  0.0.17

ucf recommends no packages.

ucf suggests no packages.

-- debconf information:
  ucf/conflicts_found:
  ucf/changeprompt: keep_current
* ucf/show_diff:
* ucf/changeprompt_threeway: merge_threeway
  ucf/title:

-- 
Vincent Lefèvre <vinc...@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)

Reply via email to