[Toybox] Toybox : Found Issue : "ls" Command

Neha Maggu maggu.neha at gmail.com
Tue Mar 31 02:54:30 PDT 2015


Hello List,

Found an issue with "ls" command while using its output as input to the awk
command using Pipe.

Issue Logs below :

1.Create multiple directories /dev/my1 , /dev/my2...so on
2. Run ../toybox    ls -l  /dev/my* | awk '{ print $10 }'

Observe it will give blank output

----Logs----
/home/neham/OSI_Toybox_dump # ../toybox    ls -l /dev/my* | awk '{ print
$10 }'


/home/neham/OSI_Toybox_dump #     ls -l /dev/my* | ../toybox  awk '{ print
$10 }'
/dev/my10
/dev/my11
/dev/my12
/dev/my13
/dev/my14

Observed , that its working fine with other command (eg . cut )

/home/neham/OSI_Toybox_dump # ../toybox     ls -l /dev/my* |  cut -f 6
b--------x 1 root root 1,   1 2015-03-31 14:30 /dev/my10
b--------x 1 root root 1,   1 2015-03-31 14:30 /dev/my11
b--------x 1 root root 1,   1 2015-03-31 14:30 /dev/my12
b--------x 1 root root 1,   1 2015-03-31 14:30 /dev/my13
b--------x 1 root root 1,   1 2015-03-31 14:30 /dev/my14



 Thanks & Regards
    Neha Maggu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20150331/13f845e1/attachment-0002.htm>


More information about the Toybox mailing list