Title: Bug about special characters \[,\]

Hi there.
I just found that special characters '[' and ']' are wrongly handled by kernel. Following is the case:

I have a file named "file[21].txt"
I have a shell script:

files=`ls *.txt`
for f in $files; do echo $f; done

the output is:
file1.txt
file2.txt

I tested on unix(solaris 8) and it works fine(output "file[21].txt"), and I believe this is a kernel bug.
<<checkout>>

checkout

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

Reply via email to