Just discovered a nasty bug in the mv command.

I had a file that had several mv commands in it:

mv name1 name2
mv name3 name4
...

The file was a DOS/Windows file with CR characters in it. I ran the file
with BASH
and it did the renames, but ....

All the new names had the CR character appended to the end of the name.

MV should ignore CR and any other invisible character. This is a serious
bug.

--
Marc Perkel                         Voice: 417-866-1222
Computer Tyme Software Lab            Fax: 760-838-8023
309 North Jefferson, Suite 220      Reply: "mailto:[EMAIL PROTECTED]"
Springfield, MO. 65806 USA       Web Site: "http://www.ctyme.com"


Reply via email to