Re: [Slackbuilds-users] Possible typo in python3.SlackBuild

2015-01-10 Thread Jim Diamond
On Fri, Jan 9, 2015 at 20:45 (+0200), Audrius Kažukauskas wrote: On Fri, 2015-01-09 at 13:34:03 -0400, Jim Diamond wrote: On Fri, Jan 9, 2015 at 17:09 (+1000), Christoph Willing wrote: Its not stated there but I presume a blank offset defaults it to 0, therefore for a VERSION of 3.4.2,

Re: [Slackbuilds-users] Possible typo in python3.SlackBuild

2015-01-10 Thread Christoph Willing
On 01/11/2015 01:14 AM, Jim Diamond wrote: On Fri, Jan 9, 2015 at 20:45 (+0200), Audrius Kažukauskas wrote: On Fri, 2015-01-09 at 13:34:03 -0400, Jim Diamond wrote: On Fri, Jan 9, 2015 at 17:09 (+1000), Christoph Willing wrote: Its not stated there but I presume a blank offset

Re: [Slackbuilds-users] Possible typo in python3.SlackBuild

2015-01-09 Thread Christoph Willing
On 01/10/2015 04:45 AM, Audrius Kažukauskas wrote: On Fri, 2015-01-09 at 13:34:03 -0400, Jim Diamond wrote: On Fri, Jan 9, 2015 at 17:09 (+1000), Christoph Willing wrote: On 01/09/2015 04:35 PM, Niki Kovacs wrote: Hi, I just noticed a strange line in python3.SlackBuild:

Re: [Slackbuilds-users] Possible typo in python3.SlackBuild

2015-01-09 Thread Audrius Kažukauskas
On Fri, 2015-01-09 at 13:34:03 -0400, Jim Diamond wrote: On Fri, Jan 9, 2015 at 17:09 (+1000), Christoph Willing wrote: On 01/09/2015 04:35 PM, Niki Kovacs wrote: Hi, I just noticed a strange line in python3.SlackBuild: PYVER=${VERSION::3} I only know this kind of notation:

Re: [Slackbuilds-users] Possible typo in python3.SlackBuild

2015-01-09 Thread Jim Diamond
On Fri, Jan 9, 2015 at 17:09 (+1000), Christoph Willing wrote: On 01/09/2015 04:35 PM, Niki Kovacs wrote: Hi, I just noticed a strange line in python3.SlackBuild: PYVER=${VERSION::3} I only know this kind of notation: PYVER=${VERSION:-3} Is this an error or some special syntax I don't

Re: [Slackbuilds-users] Possible typo in python3.SlackBuild

2015-01-08 Thread Christoph Willing
On 01/09/2015 04:35 PM, Niki Kovacs wrote: Hi, I just noticed a strange line in python3.SlackBuild: PYVER=${VERSION::3} I only know this kind of notation: PYVER=${VERSION:-3} Is this an error or some special syntax I don't know? From the Parameter Expansion section of the bash manpage:

[Slackbuilds-users] Possible typo in python3.SlackBuild

2015-01-08 Thread Niki Kovacs
Hi, I just noticed a strange line in python3.SlackBuild: PYVER=${VERSION::3} I only know this kind of notation: PYVER=${VERSION:-3} Is this an error or some special syntax I don't know? Cheers, Niki -- Microlinux - Solutions informatiques 100% Linux et logiciels libres 7, place de l'église