Your message dated Fri, 24 Feb 2023 15:39:28 +0100
with message-id <[email protected]>
and subject line tcsh: Filetest Built-In Does Not Recognize Filenames 
Containing '{' (left curly brace), Whether Quoted or Escaped
has caused the Debian Bug report #905649,
regarding tcsh: Filetest Built-In Does Not Recognize Filenames Containing '{' 
(left curly brace), Whether Quoted or Escaped
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
905649: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905649
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tcsh
Version: 6.18.01-3
Severity: normal

Dear Maintainer,

The filetest built-in command does not recognize
filenames containing a '{' (left curly brace),
whether the filename (or just that character) is
single-quoted, double-quoted, or
backslash-escaped.  Neither the ls-F built-in, nor
filename handling with regular (non built-in)
commands such as ls, appear to be affected by this
problem.  I haven't checked all other shell
filename processing.  See the transcript
below. (The rc[0-9] is part of the prompt and
displays the return code of the prior command.)

Note that the cases where a left curly brace is
present without a matching right curly brace
(history numbers 510-512) seem to be treated
differently from those where the braces are
present in a matched pair (history numbers
517-519), but in both cases, the behavior of
filetest appears to be incorrect.

################################################################################

Script started on Tue Aug  7 10:39:07 2018

rc0  501 > lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.11 (jessie)
Release:        8.11
Codename:       jessie

rc0  502 > tcsh --version
tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-unknown-linux) options 
wide,nls,dl,al,kan,rh,nd,color,filec

rc0  503 > touch a
rc0  504 > ls a
a
rc0  505 > filetest -f a
1

rc0  506 > touch 'b{c'
rc0  507 > ls 'b{c'
b{c
rc0  508 > ls "b{c"
b{c
rc0  509 > ls b\{c
b{c
rc0  510 > filetest -f b\{c
Missing }.
rc1  511 > filetest -f 'b{c'
Missing }.
rc1  512 > filetest -f "b{c"
Missing }.

rc1  513 > touch 'd{}e'
rc0  514 > ls 'd{}e'
d{}e
rc0  515 > ls "d{}e"
d{}e
rc0  516 > ls d\{\}e
d{}e
rc0  517 > filetest -f 'd{}e'
0
rc0  518 > filetest -f "d{}e"
0
rc0  519 > filetest -f d\{\}e
0

rc0  520 > exit

Script done on Tue Aug  7 10:39:14 2018

################################################################################


-- System Information:
Debian Release: 8.11
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tcsh depends on:
ii  libc6      2.19-18+deb8u10
ii  libtinfo5  5.9+20140913-1+deb8u3

tcsh recommends no packages.

tcsh suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 6.24.07-1

This bug has been fixed in the new version. I ran the same commands but got the expected outputs now, so I am closing this bug.

--
Josef Schneider

GPG Fingerprint 3267 0331 DB61 A817 7D25 4D05 5A44 BC12 F2A8 E58F

Attachment: OpenPGP_0x5A44BC12F2A8E58F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---

Reply via email to