This problem started a while ago and I don't know what triggered it, I thought it was due to mixing TCCLE with cygwin or with CONSOLE2, but I can reproduce it without those. What happens is that some commands, when redirecting or piping to others, produce output with what looks like spaces between every character, but when I output to a text file and examine it, each "space" is actually an ASCII NULL (zero ascii code) charcacter. Here's an example with purely internal commands DIRS and TYPE
[C:\]
[C:\]dirs | type
: \ u t i l s \ C o n s o l e 2 6 4
C : \ u t i l s \ C o n s o l e 2 6 4
C : \ a d v \ t r u n k
C : \ a d v \ t r u n k
[C:\]which type
type is an internal command
[C:\]which dirs
dirs is an internal command
Any ideas?
[C:\]
[C:\]dirs | type
: \ u t i l s \ C o n s o l e 2 6 4
C : \ u t i l s \ C o n s o l e 2 6 4
C : \ a d v \ t r u n k
C : \ a d v \ t r u n k
[C:\]which type
type is an internal command
[C:\]which dirs
dirs is an internal command
Any ideas?