home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / bugs / 4bsd / 235 next >
Encoding:
Internet Message Format  |  1992-12-12  |  1.4 KB

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