hubertf's NetBSD Blog
Send interesting links to hubert at feyrer dot de!
[20051105] Found a bug in tcsh
wget made me a directory "~foo" today. When trying to change into it, I used tab completion to not need to type the name. It seems that tcsh forgot that ~ has a special meaning and didn't escape it properly:

      % ls
      % cd <TAB>
      % cd ~foo
      Unknown user: foo.  
I guess fixing this is trivial, given that tab expansion already DTRT for wildcard characters and whitespaces in filenames. I even started looking at the tcsh source, but couldn't really find the right spot. :(

[Tags: ]

Disclaimer: All opinion expressed here is purely my own. No responsibility is taken for anything.

Access count: 24541020
Copyright (c) Hubert Feyrer