t a trim() would be a good defensive move in this case.
>
> -Original Message-
> From: Brad Beck [mailto:bb...@peoplenetonline.com]
> Sent: Thursday, February 17, 2011 3:31 PM
> To: user@karaf.apache.org
> Subject: RE: Passing negative integer as first command parameter...
-
From: Brad Beck [mailto:bb...@peoplenetonline.com]
Sent: Thursday, February 17, 2011 3:31 PM
To: user@karaf.apache.org
Subject: RE: Passing negative integer as first command parameter...
That gets me closer, but now I get the following error...
Error executing command pfm:range: unable to
ike a trim() prior to conversion might make it work...
-Original Message-
From: Guillaume Nodet [mailto:gno...@gmail.com]
Sent: Thursday, February 17, 2011 2:50 PM
To: user@karaf.apache.org
Subject: Re: Passing negative integer as first command parameter...
Good question. Not really sur
Good question. Not really sure actually. Can you try
> range ' -1' 10
with a space between the first quote and the minus sign ?
On Thu, Feb 17, 2011 at 20:15, Brad Beck wrote:
> How do I escape the first parameter to a command when it is a negative number
> (e.g. range -1 10)?
>
> I'm currentl
How do I escape the first parameter to a command when it is a negative number
(e.g. range -1 10)?
I'm currently getting the following error when I try the example above (Karaf
2.1.0)...
Error executing command pfm:range undefined option -1
-Brad Beck