home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.bugs.4bsd:235 comp.bugs.sys5:146 comp.bugs.misc:170 comp.sources.bugs:296
- Path: sparky!uunet!olivea!charnel!sifon!homer.cs.mcgill.ca!haiying
- From: haiying@cs.mcgill.ca (Haiying ZHANG)
- Newsgroups: comp.bugs.4bsd,comp.bugs.sys5,comp.bugs.misc,comp.sources.bugs
- Subject: A serious bug in unix2dos/dos2unix
- Message-ID: <1992Dec12.224109.15621@cs.mcgill.ca>
- Date: 12 Dec 92 22:41:09 GMT
- Sender: news@cs.mcgill.ca (Netnews Administrator)
- Organization: SOCS - McGill University, Montreal, Canada
- Lines: 21
-
-
- I came across this bug a while ago. This has to do with using wild
- card in file names with unix2dos/dos2unix.
-
- If you use a wild card in the file name, be it a single * or a ?
- embedded in a pattern, these two handy utilities will wipe out your
- entire current directory with the exception of the first file. It will
- set all the rest of the file to size 0.
-
- Although the man page does mention anything about wild card in
- filename making one believe that it is not supported, it should not in
- any case cause serious damaging to your files. While I am at it, these
- two programs look like a recompile of its DOS version. It should have
- provided more - options such as -Rfp etc. as in cp.
-
- I hope that somebody could get hold of this and put some action into
- it. For such a widely used simple utility to have these serious bug and
- disfunctions is really a shame.
-
-
- Haiying
-