[Toybox] ls implementation

Andre Renaud andre at bluewatersys.com
Mon Feb 20 16:48:52 PST 2012


Hi Rob,

On 21/02/12 13:38, Rob Landley wrote:
> On 02/15/2012 01:22 PM, Andre Renaud wrote:
>>> Attached is a patch that adds support for having files on the command
>>> line (as well as directories), and -R support.
>>
>> Replying to myself - attached is an updated patch that includes the -R
>> support, and adds in -n support.
> 
> Catching up, I already merged your earlier submission adding some of
> this stuff, this patch doesn't apply cleanly on top of that one.  Could
> you send me a version that applies to the current tree, please?

Attached are two patches. One adds in the -n support, and the 64-bit
defines, the other forces ls to act as ls -1 if used in a pipe. I
believe this is standard behaviour (it certainly is in GNU ls).

Regards,
Andre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ls-tty.diff
Type: text/x-patch
Size: 515 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20120221/f9b8938f/attachment-0014.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ls.diff
Type: text/x-patch
Size: 1910 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20120221/f9b8938f/attachment-0015.bin>


More information about the Toybox mailing list