[Toybox] ls implementation

Andre Renaud andre at bluewatersys.com
Thu Feb 9 15:18:19 PST 2012


Hi,
Out of curiosity I had a go at implementing the 'ls' command in toybox,
just to see how involved it would be. I'm not entirely sure how patch
submission is done for toybox, and I'm not too familiar with mercurial,
but attached is the toys/ls.c file if you're interested.

It is quite limited - it only supports directories as parameters (ie:
you can't do ls *.c), and only supports a couple of the ls options.

Any comments?

Regards,
Andre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ls.c
Type: text/x-csrc
Size: 2781 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20120210/6f0c062b/attachment-0006.c>


More information about the Toybox mailing list