Shell loop bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

barebox@/ # for i in /dev/* ; do echo $i; done
/dev/flash0
/dev/full
/dev/m25p0
/dev/m25p1
/dev/mem
/dev/null
/dev/ram0
/dev/self0
/dev/serial1
/dev/zero

barebox@/ # for i in /dev/*1 ; do echo $i; done
/dev/m25p1
/dev/serial1

barebox@/ # for i in /dev/*2 ; do echo $i; done
/dev/*2
     ^^^^^^^^ Is this correct?

Thanks.
---
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux