Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

bug in select



Hi,

I found a buggy feature in zsh's `select' built-in command.
here's the log.

   verdy% select i in aaa bbb ccc
   do echo $i
   done
   1) aaa  2) bbb  3) ccc  
   ?# 1
   0
   1) aaa  2) bbb  3) ccc  
   ?# 2
   0
   1) aaa  2) bbb  3) ccc  
   ?# 3
   0
   1) aaa  2) bbb  3) ccc  
   ?# 0
   0
   1) aaa  2) bbb  3) ccc  
   ?# aaa
   0
   1) aaa  2) bbb  3) ccc  

with zsh version 3.1.0, Linux-2.0.27 (Slakware-3.1)

ps) I cannot understand the usage of `&|' and `&!'.
could someone help me?



Messages sorted by: Reverse Date, Date, Thread, Author