tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* unable to delete files with control chars in name
@ 1999-07-07 15:29 DSL
  0 siblings, 0 replies; only message in thread
From: DSL @ 1999-07-07 15:29 UTC (permalink / raw)
  To: tru64-unix-managers

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-^@M-^?.cai
-rw-rw-rw-   1 erie     erie      138569 Jun 30 20:34 4M-YM-^@M-^?.inw
-rw-rw-rw-   1 erie     erie        5566 Jun 30 20:34 4M-YM-^@M-^?.wbr
-rw-rw-rw-   1 erie     erie      221831 Jun 30 20:34 4M-YM-^@M-^?.wiw
-rw-rw-rw-   1 erie     erie       24391 Jun 30 20:34 4M-YM-^@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-^@M-^?.cai"
rm: 4M-YM-^@M-^?.cai: No such file or directory
EBS1:RDB% rm "4M-YM-^@M-^?".cai
rm: 4M-YM-^@M-^?.cai: No such file or directory
EBS1:RDB% rm "4M-YM-^@M-^?".???
No match.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-07-07 15:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-07 15:29 unable to delete files with control chars in name DSL

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox