[dev] [announce] Starch Linux is bootable and self-hosting

2013-10-04 Thread Strake
I posted about Starch earlier [1]; to remind, it's static-linked Arch-based Linux distro built against musl. The basic system now works with a few small glitches. So far, packages for x86_64 are available. http://starchlinux.org/ [1] http://lists.suckless.org/dev/1210/13050.html

Re: [dev] [sbase] [PATCH] ls: add option to reverse the sort order

2013-10-04 Thread Thorsten Glaser
Raphaël Proust dixit: >On Fri, Oct 4, 2013 at 2:32 PM, Alexander S. wrote: >> Uh, cannot this be achieved by piping output to tac? > >At which points someone asks why is there a sorted order at all in ls >output… cannot this be achieved by piping output to sort? Only if you pipe it through rs¹

Re: [dev] [sbase] [PATCH] ls: add option to reverse the sort order

2013-10-04 Thread Markus Teich
Alexander S. wrote: > If we want to retain this patch, I'd suggest reversing array after > sorting, not multiplying by `sortorder' in comparison functions. This > avoids code duplication. Good suggestion. I will implement it tonight. --Markus

Re: [dev] [sbase] [PATCH] ls: add option to reverse the sort order

2013-10-04 Thread Markus Teich
Alexander S. wrote: > Uh, cannot this be achieved by piping output to tac? Roberto E. Vargas Caballero wrote: > Yes, but tac it is no a standard posix tool, and sbase also hasn't it. > I have an awk script in my machine for it: Both solutions mean iterating over the list once more to reverse the

Re: [dev] [sbase] [PATCH] ls: add option to reverse the sort order

2013-10-04 Thread Nick
On Fri, Oct 04, 2013 at 02:40:57PM +0100, Raphaël Proust wrote: > On Fri, Oct 4, 2013 at 2:32 PM, Alexander S. wrote: > > Uh, cannot this be achieved by piping output to tac? > > At which points someone asks why is there a sorted order at all in ls > output… cannot this be achieved by piping out

Re: [dev] [sbase] [PATCH] ls: add option to reverse the sort order

2013-10-04 Thread Alexander S.
2013/10/4 Raphaël Proust : > On Fri, Oct 4, 2013 at 2:32 PM, Alexander S. wrote: >> Uh, cannot this be achieved by piping output to tac? > > At which points someone asks why is there a sorted order at all in ls > output… cannot this be achieved by piping output to sort? sort(1) can only sort by n

Re: [dev] [sbase] [PATCH] ls: add option to reverse the sort order

2013-10-04 Thread Raphaël Proust
On Fri, Oct 4, 2013 at 2:32 PM, Alexander S. wrote: > Uh, cannot this be achieved by piping output to tac? At which points someone asks why is there a sorted order at all in ls output… cannot this be achieved by piping output to sort? -- __ Raphaël Proust

Re: [dev] [sbase] [PATCH] ls: add option to reverse the sort order

2013-10-04 Thread Roberto E. Vargas Caballero
On Fri, Oct 04, 2013 at 05:32:23PM +0400, Alexander S. wrote: > Uh, cannot this be achieved by piping output to tac? Yes, but tac it is no a standard posix tool, and sbase also hasn't it. I have an awk script in my machine for it: #!/usr/bin/awk -f {line[last++] = $0;} END { for (

Re: [dev] [sbase] [PATCH] ls: add option to reverse the sort order

2013-10-04 Thread Alexander S.
Uh, cannot this be achieved by piping output to tac?