Re: [gobolinux-devel] Use flags specification

2008-04-14 Thread Michael Homer
On Tue, Apr 15, 2008 at 6:33 AM, Hisham <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 3:58 AM, Daniele Maccari <[EMAIL PROTECTED]> wrote: > > Michael Homer wrote: > > > It would be silly to write that, since the flag definitely won't be > > > enabled by default. -gtk1 won't do anything

Re: [gobolinux-devel] Use flags specification

2008-04-14 Thread Michael Homer
On Tue, Apr 15, 2008 at 6:26 AM, Hisham <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 5:09 AM, Michael Homer <[EMAIL PROTECTED]> wrote: > > On Sun, Apr 13, 2008 at 8:03 PM, jan <[EMAIL PROTECTED]> wrote: > > > On Saturday 12 April 2008 20:06:10 Michael Homer wrote: > > > > The environm

Re: [gobolinux-devel] Use flags specification

2008-04-14 Thread Daniele Maccari
Hisham wrote: > If they're not "real" in the sense that they are not Gentoo-equivalent > use flags, then yes, they're not. But if they're not use flags, then > what are they? I find it better to keep the name than to just invent a > name and have to explain it to people like "well, they're basicall

Re: [gobolinux-devel] Use flags specification

2008-04-14 Thread Hisham
On Mon, Apr 14, 2008 at 3:58 AM, Daniele Maccari <[EMAIL PROTECTED]> wrote: > Michael Homer wrote: > > It would be silly to write that, since the flag definitely won't be > > enabled by default. -gtk1 won't do anything unless you've already > > enabled it yourself earlier in the file. > > -Mich

Re: [gobolinux-devel] Use flags specification

2008-04-14 Thread Hisham
On Mon, Apr 14, 2008 at 5:09 AM, Michael Homer <[EMAIL PROTECTED]> wrote: > On Sun, Apr 13, 2008 at 8:03 PM, jan <[EMAIL PROTECTED]> wrote: > > On Saturday 12 April 2008 20:06:10 Michael Homer wrote: > > > The environment variable takes a space-separated list of flag > > > specifications (rath

Re: [gobolinux-devel] Code Documentation Project: OptionsParser patch

2008-04-14 Thread Daniele Maccari
Daniele Maccari wrote: Hi all, attached you'll find the patch for the commented OptionParser script. I fixed some little things we discussed with Jonas and Michael (thanks to both for the help, and their patience). I hope this to be "definitive", mainly because this way we'll have a default s

Re: [gobolinux-devel] Use flags specification

2008-04-14 Thread Michael Homer
On Sun, Apr 13, 2008 at 8:03 PM, jan <[EMAIL PROTECTED]> wrote: > On Saturday 12 April 2008 20:06:10 Michael Homer wrote: > > The environment variable takes a space-separated list of flag > > specifications (rather than newline), so it accepts a special syntax > > for the specifications, with ';

Re: [gobolinux-devel] Code Documentation Project: String patch

2008-04-14 Thread Daniele Maccari
Daniele Maccari wrote: > Omg, again, please note that in this part: > > [ $3 -lt 0 -a $(( $i+$3+1 )) -lt ${#tokens} ] && echo -n ${tokens[$(( $i+$3+1 > ))]} > > of the Get_Token function, the control about $(( $i+$3+1 )) is still wrong, > it should be greater than -1, if I'm not wrong on this too

Re: [gobolinux-devel] Code Documentation Project: String patch

2008-04-14 Thread Daniele Maccari
Omg, again, please note that in this part: [ $3 -lt 0 -a $(( $i+$3+1 )) -lt ${#tokens} ] && echo -n ${tokens[$(( $i+$3+1 ))]} of the Get_Token function, the control about $(( $i+$3+1 )) is still wrong, it should be greater than -1, if I'm not wrong on this too :D Thanks for your patience. ___

Re: [gobolinux-devel] Code Documentation Project: String patch

2008-04-14 Thread Daniele Maccari
Following Kevin's suggestions, I created another patch, which you can find attached ;) Bye --- trunk/Scripts/Functions/String 2008-04-13 19:15:44.0 +0200 +++ trunk.new/Scripts/Functions/String 2008-04-14 09:13:22.0 +0200 @@ -1,73 +1,215 @@ #!/bin/bash (source) -# ///