<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 70: watch a variable with multiple strings caused errors</title><link>https://sourceforge.net/p/bashdb/bugs/70/</link><description>Recent changes to 70: watch a variable with multiple strings caused errors</description><atom:link href="https://sourceforge.net/p/bashdb/bugs/70/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 06 Jul 2021 13:49:45 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/bashdb/bugs/70/feed.rss" rel="self" type="application/rss+xml"/><item><title>#70 watch a variable with multiple strings caused errors</title><link>https://sourceforge.net/p/bashdb/bugs/70/?limit=25#55ef</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;oki thanks for your quick reaction. I will be happy to try the 5.1 version.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roland Christmann</dc:creator><pubDate>Tue, 06 Jul 2021 13:49:45 -0000</pubDate><guid>https://sourceforge.net90e28d5032cd421844f3091b139f9f53f811a3ce</guid></item><item><title>#70 watch a variable with multiple strings caused errors</title><link>https://sourceforge.net/p/bashdb/bugs/70/?limit=25#ac6b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks!  Should be fixed in the bash-4.2, bash-4.4, bash-5.0, and bash-5.1 branches  in commits 2912083,  fba89d9,  dd9847b,   and 9ccf28b respectively.&lt;/p&gt;
&lt;p&gt;But I make lots of mistakes which is why I work on debuggers. So please double check.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rocky Bernstein</dc:creator><pubDate>Tue, 06 Jul 2021 13:10:45 -0000</pubDate><guid>https://sourceforge.net24205040c22a6272beeadc4559e356b81b9f9405</guid></item><item><title>watch a variable with multiple strings caused errors</title><link>https://sourceforge.net/p/bashdb/bugs/70/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;watch&lt;/strong&gt; a variable with multiple strings caused errors&lt;/p&gt;
&lt;p&gt;mon_test.sh&lt;br/&gt;
ARGS=$@&lt;/p&gt;
&lt;p&gt;$ bashdb -- mon_test.sh "Hello World !"&lt;/p&gt;
&lt;p&gt;bashdb&amp;lt;2&amp;gt; watch ARGS&lt;br/&gt;
&lt;strong&gt;/usr/share/bashdb/lib/msg.sh: line 127: printf: World: invalid number&lt;br/&gt;
/usr/share/bashdb/lib/msg.sh: line 127: printf: !: invalid number&lt;/strong&gt;&lt;br/&gt;
 0: ($ARGS)==Hello arith: 0 0: 0== arith: 0&lt;/p&gt;
&lt;p&gt;$bashdb_location/bashdb/command&lt;br/&gt;
$ diff -u watch.sh.ORIG watch.sh&lt;/p&gt;
&lt;p&gt;--- watch.sh.ORIG       2021-06-25 11:20:34.000000000 +0200&lt;br/&gt;
+++ watch.sh    2021-07-06 11:42:17.000000000 +0200&lt;br/&gt;
@@ -64,7 +64,7 @@&lt;br/&gt;
        _Dbg_watch_enable&lt;span&gt;[$n]&lt;/span&gt;=1&lt;br/&gt;
        _Dbg_watch_count&lt;span&gt;[$n]&lt;/span&gt;=0 &lt;br/&gt;
        _Dbg_printf '%2d: %s==%s arith: %d' $n \&lt;br/&gt;
-           "(${_Dbg_watch_exp&lt;span&gt;[$n]&lt;/span&gt;})" ${_Dbg_watch_val&lt;span&gt;[$n]&lt;/span&gt;} \&lt;br/&gt;
+           "(${_Dbg_watch_exp&lt;span&gt;[$n]&lt;/span&gt;})" "${_Dbg_watch_val&lt;span&gt;[$n]&lt;/span&gt;}" \&lt;br/&gt;
            ${_Dbg_watch_arith&lt;span&gt;[$n]&lt;/span&gt;} &lt;br/&gt;
     fi &lt;br/&gt;
     return 0 &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roland Christmann</dc:creator><pubDate>Tue, 06 Jul 2021 12:32:30 -0000</pubDate><guid>https://sourceforge.net58282186f269865945245d0e9e168795e11b2ef5</guid></item></channel></rss>