Re: [dev] Re: Maintaining sbase

2013-06-28 Thread Calvin Morrison
On 28 June 2013 21:51, Fernando C.V. wrote: >>> It's for people that don't know how to use FIFOs/process substitution >>> properly ;-) >>> >> >> should suffice: >> >> cat file | tee >(sort -u > sorted) >(sort -R > unsorted) >> > > That's a bashism, not POSIX. Not much better than using pee > > --

Re: [dev] Re: Maintaining sbase

2013-06-28 Thread Fernando C.V.
>> It's for people that don't know how to use FIFOs/process substitution >> properly ;-) >> > > should suffice: > > cat file | tee >(sort -u > sorted) >(sort -R > unsorted) > That's a bashism, not POSIX. Not much better than using pee -- Fernando Carmona Varo

Re: [dev] Re: Maintaining sbase

2013-06-27 Thread Calvin Morrison
On 27 June 2013 02:43, Chris Down wrote: > On 27 June 2013 14:33, Martti Kühne wrote: >> Still. What's pee good for? A quick google disappointed my >> expectations in that matter. > > It's for people that don't know how to use FIFOs/process substitution > properly ;-) > should suffice: cat file

Re: [dev] Re: Maintaining sbase

2013-06-26 Thread Chris Down
On 27 June 2013 14:33, Martti Kühne wrote: > Still. What's pee good for? A quick google disappointed my > expectations in that matter. It's for people that don't know how to use FIFOs/process substitution properly ;-)

Re: [dev] Re: Maintaining sbase

2013-06-26 Thread Martti Kühne
On Wed, Jun 26, 2013 at 5:43 AM, Strake wrote: > On 25/06/2013, Martti Kühne wrote: >> [...] >>> pee >> >> And a cloth to clean up the mess... > > No, that's what sponge is for. > Still. What's pee good for? A quick google disappointed my expectations in that matter. cheers! mar77i

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Strake
On 25/06/2013, Martti Kühne wrote: > On Tue, Jun 25, 2013 at 4:58 PM, Calvin Morrison > wrote: >> my votes are for at a minimum are for: >> >> sponge >> tee >> pee > > And a cloth to clean up the mess... No, that's what sponge is for.

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Martti Kühne
On Tue, Jun 25, 2013 at 4:58 PM, Calvin Morrison wrote: > my votes are for at a minimum are for: > > sponge > tee > pee And a cloth to clean up the mess...

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread hiro
busybox ash.

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Calvin Morrison
my votes are for at a minimum are for: sponge tee pee On 25 June 2013 10:54, Daniel Bryan wrote: >> first of all, some things in moreutils would be awesome > > Especially if they weren't written in Perl.

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Daniel Bryan
> first of all, some things in moreutils would be awesome Especially if they weren't written in Perl.

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Markus Teich
Am 2013-06-25 16:42, schrieb Jesse Ogle: I understood sbase to have a loose correspondence to coreutils. Is this the case? Coreutils does not have a shell, or am I wrong about that? I don't think „Everyone is doing it this way“ is a valid argument in any discussion. On Tue, Jun 25, 2013 at

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Calvin Morrison
On 25 June 2013 10:45, Chris Down wrote: > On 25 June 2013 22:42, Jesse Ogle wrote: >> I understood sbase to have a loose correspondence to coreutils. Is >> this the case? Coreutils does not have a shell, or am I wrong about >> that? > > GNU coreutils has no shell, it is packaged separately (as G

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Chris Down
On 25 June 2013 22:42, Jesse Ogle wrote: > I understood sbase to have a loose correspondence to coreutils. Is > this the case? Coreutils does not have a shell, or am I wrong about > that? GNU coreutils has no shell, it is packaged separately (as GNU bash).

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Jesse Ogle
I understood sbase to have a loose correspondence to coreutils. Is this the case? Coreutils does not have a shell, or am I wrong about that? Jesse On Tue, Jun 25, 2013 at 10:17 AM, Calvin Morrison wrote: > why not rc? > > On 25 June 2013 10:10, Carlos Torres wrote: >> On Tue, Jun 25, 2013 at 8:

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Calvin Morrison
why not rc? On 25 June 2013 10:10, Carlos Torres wrote: > On Tue, Jun 25, 2013 at 8:58 AM, Galos, David > wrote: >>> What is your opinion on a shell for sbase? >> >> The shell is a topic around which there is far too much religion. >> Sbase should not include a shell. >> > > :) i like this answe

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Carlos Torres
On Tue, Jun 25, 2013 at 8:58 AM, Galos, David wrote: >> What is your opinion on a shell for sbase? > > The shell is a topic around which there is far too much religion. > Sbase should not include a shell. > :) i like this answer

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Galos, David
> What is your opinion on a shell for sbase? The shell is a topic around which there is far too much religion. Sbase should not include a shell.

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread markus schnalke
[2013-06-25 13:02] Christian Neukirchen > Chris Down writes: > > > On 25 June 2013 18:01, Christian Neukirchen wrote: > >> pmarin writes: > >> > >>> dash has a broken builtin echo command and they are not interested in > >>> fix it. I think busybox ash fixed the problem. > >>> > >>> dash> echo

[dev] Re: Maintaining sbase

2013-06-25 Thread Christian Neukirchen
Chris Down writes: > On 25 June 2013 18:01, Christian Neukirchen wrote: >> pmarin writes: >> >>> dash has a broken builtin echo command and they are not interested in >>> fix it. I think busybox ash fixed the problem. >>> >>> dash> echo '\tshit' >>> shit >>> ash> echo '\tshit' >>> \tshit >>

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Thorsten Glaser
Chris Down dixit: >try mksh. FWIW, mksh has three different “echo”; if invoked as mksh, it uses a BSD echo by default which does interpret backslashes, but if one uses set -o posix (or invokes it as sh or -sh and it is compiled with -DMKSH_BINSHPOSIX (CVS HEAD)) it has an echo that only honours -

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Nick
Quoth pmarin: > dash has a broken builtin echo command and they are not interested in > fix it. I think busybox ash fixed the problem. Is it really broken? I got the impression from [0] that echo was so badly specified that one shouldn't trust it to do much at all, though I confess I haven't rea

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Chris Down
On 25 June 2013 18:01, Christian Neukirchen wrote: > pmarin writes: > >> dash has a broken builtin echo command and they are not interested in >> fix it. I think busybox ash fixed the problem. >> >> dash> echo '\tshit' >> shit >> ash> echo '\tshit' >> \tshit > > That is bad indeed. Know any

[dev] Re: Maintaining sbase

2013-06-25 Thread Christian Neukirchen
pmarin writes: > dash has a broken builtin echo command and they are not interested in > fix it. I think busybox ash fixed the problem. > > dash> echo '\tshit' > shit > ash> echo '\tshit' > \tshit That is bad indeed. Know any other problems? -- Christian Neukirchenhttp://chneukirchen.

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread pmarin
dash has a broken builtin echo command and they are not interested in fix it. I think busybox ash fixed the problem. dash> echo '\tshit' shit ash> echo '\tshit' \tshit On Mon, Jun 24, 2013 at 11:32 PM, Christian Neukirchen wrote: > Markus Teich writes: > >> What is your opinion on a shell f

[dev] Re: Maintaining sbase

2013-06-24 Thread Christian Neukirchen
Markus Teich writes: > What is your opinion on a shell for sbase? I had a look at dash, which is sh-compatible and fairly small, and the code did not look half as bad as I expected it to be. -- Christian Neukirchenhttp://chneukirchen.org