unable to delete files with control chars in name

From: DSL <dsl_at_one.net>
Date: Wed, 07 Jul 1999 11:29:01 -0400

I have a pgm which was supposed to generate several files with a
date-formatted name, for example, 990630.cai. Unfortunately, due to an error
in the formatting, it generated these files with control chars instead, and
I have been unable to remove them. Any suggestions? Below is an edited
history.

EBS1:RDB% ls
4?x???.cai
4?x???.inw
4?x???.wbr
4?x???.wiw
4?x???.wnw
EBS1:RDB% ls -l
total 85416
-rw-rw-rw- 1 erie erie 24245 Jun 30 20:34 4M-YM-^_at_M-^?.cai
-rw-rw-rw- 1 erie erie 138569 Jun 30 20:34 4M-YM-^_at_M-^?.inw
-rw-rw-rw- 1 erie erie 5566 Jun 30 20:34 4M-YM-^_at_M-^?.wbr
-rw-rw-rw- 1 erie erie 221831 Jun 30 20:34 4M-YM-^_at_M-^?.wiw
-rw-rw-rw- 1 erie erie 24391 Jun 30 20:34 4M-YM-^_at_M-^?.wnw
EBS1:RDB% ls 4*.???
4Y.cai not found
4Y.inw not found
4Y.wbr not found
4Y.wiw not found
4Y.wnw not found
EBS1:RDB% ls -l 4*.???
4Y.cai not found
4Y.inw not found
4Y.wbr not found
4Y.wiw not found
4Y.wnw not found
EBS1:RDB% rm 4*.???
rm: 4Y.cai: No such file or directory
rm: 4Y.inw: No such file or directory
rm: 4Y.wbr: No such file or directory
rm: 4Y.wiw: No such file or directory
rm: 4Y.wnw: No such file or directory
EBS1:RDB% rm "4M-YM-^_at_M-^?.cai"
rm: 4M-YM-^_at_M-^?.cai: No such file or directory
EBS1:RDB% rm "4M-YM-^_at_M-^?".cai
rm: 4M-YM-^_at_M-^?.cai: No such file or directory
EBS1:RDB% rm "4M-YM-^_at_M-^?".???
No match.
Received on Wed Jul 07 1999 - 15:23:49 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT