On Sun, 2015-01-11 at 11:37:56 +1000, Christoph Willing wrote:
> If we're looking for something more robust, yet generic, then my previously
> proposed solution:
> PYVER=${VERSION%.*}
> is not so great if a version string has extra fields i.e. VERSION=3.4.2.5
> would become 3.4.2 (rather than t
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 defaults
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
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:
PYVER=${VERSI
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
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
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:
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