[Toybox] Toybox : Found Issue : "ls" Command
enh
enh at google.com
Tue Mar 31 07:56:12 PDT 2015
toybox's ls is equivalent to the GNU --time-style=long-iso.
On Tue, Mar 31, 2015 at 2:54 AM, Neha Maggu <maggu.neha at gmail.com> wrote:
>
> 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
>
>
>
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
>
--
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Android native code/tools questions? Mail me/drop by/add me as a reviewer.
1427813772.0
More information about the Toybox
mailing list