Brian McAllister wrote:
>
> >>> On 5/27/2002 at 16:29:19 EDT, Vitaliy Ziskin wrote:
>
> > I try do the following :
>
> > caput channelName.VAL -1
>
> > and get the following:
>
> > caput: invalid option -- 1
> > Old : channelName.VAL 0.00
>
> > What's going on?
>
> You're on GNU/Linux.
>
> ...
>
> The work-around is to put
>
> setenv POSIXLY_CORRECT
>
> in your shell startup.
>
Another work-around is to put the negative value in quotes,
with a space between the opening quote and the minus sign,
like so:
caput channelName.VAL " -123"
This keeps unfriendly parsers away from your argument. :-)
--
William L. Cruise [email protected]
Electronics System Supervisor FAX: 808 885-7288
Canada-France-Hawaii Telescope Voice: 808 885-3121
65-1238 Mamalahoa Highway http://www.cfht.hawaii.edu/~cruise
Kamuela, HI 96743
- Replies:
- Re: error in caput ("caputting negative numbers") Matthieu Bec
- References:
- Re: error in caput ("caputting negative numbers") Brian McAllister
- Navigate by Date:
- Prev:
Re: EPICS Base 3.13.6 Caveat Tim Mooney
- Next:
Re: error in caput ("caputting negative numbers") Matthieu Bec
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
<2002>
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: error in caput ("caputting negative numbers") Brian McAllister
- Next:
Re: error in caput ("caputting negative numbers") Matthieu Bec
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
<2002>
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|