Bug about special characters \[,\]

Weixing.Hao@frx.com Weixing.Hao@frx.com
Mon Jun 18 08:34:00 GMT 2001


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: checkout
Type: text/x-algol68
Size: 8785 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20010618/aaadbffc/attachment.bin>


More information about the Cygwin mailing list