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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: caget with an array of space-containing strings |
From: | Ralph Lange <[email protected]> |
To: | EPICS Tech Talk <[email protected]> |
Date: | Fri, 27 Feb 2009 01:23:17 +0100 |
Hi,In general I would second Andrew's statement. Looping over CA command line tool calls would be bad behaviour in terms of CA.
I have to admit, though, that arrays of strings with embedded spaces break one of the command line tools' underlying ideas: caput understands the caget return value of the same PV.
So, an command line option to change the separator could be a feasible solution, or quoting those strings, or both. Any preferences?
Ralph