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] [sbase] [patch] cal

2013-06-20 Thread Jesse Ogle
Various touch ups to code and man. Fixed problem that occurred if multiple -3 flags were given. On Wed, Jun 19, 2013 at 5:24 PM, Christoph Lohmann <2...@r-36.net> wrote: > Greetings. > > On Wed, 19 Jun 2013 23:24:50 +0200 Jesse Ogle wrote: >> Two small patches. > > Tha

[dev][sbase] seq possible bug

2013-06-19 Thread Jesse Ogle
On master branch for sbase, it seems that on the seq command the format string (option -f) is having the first character clipped off. Sample below. ./seq -f "%04g" 3 04g 04g 04g ./seq -f " %04g" 3 0001 0002 0003 Printing the format string in validfmt() shows that it is correct. Printing after 'f

Re: [dev] [sbase] [patch] cal

2013-06-19 Thread Jesse Ogle
Two small patches. On Wed, Jun 19, 2013 at 4:11 PM, Christoph Lohmann <2...@r-36.net> wrote: > Greetings. > > On Wed, 19 Jun 2013 22:11:16 +0200 Jesse Ogle > wrote: > > Basic implementation of cal command. Man page included. First patch > > submission at

[dev] [sbase] [patch] cal

2013-06-19 Thread Jesse Ogle
Basic implementation of cal command. Man page included. First patch submission attempt. Is a little nonstandard. Yearly calendar ./cal -m 1 -n 12 For a different year ./cal -m 1 -n 12 -y 2014 Print as 3x4 ./cal -m 1 -n 12 -y 2014 -c 4 May start at any month ./cal -m 7 -n 12 -y 2014 -c 4 sbase