Taken from a previous post:<br><br><span class="q">> How can I <span id="st" name="st" class="st">remove</span> all my conn tests? I tried this, but it didn't work:<br>><br>> bb <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1/" target="_blank">
127.0.0.1</a> "drop * testname conn"<br><br></span><div style="direction: ltr;">From a message sent by Hendrik to the list dated: Tue, 5 Sep 2006 09:26:23<br><br>The command<br>   bb <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1/" target="_blank">
127.0.0.1</a>  "<span id="st" name="st" class="st">hobbitdboard</span>"<br>is your friend, combined with a bit of scripting. E.g:<br><br>> Is it possible to <span id="st" name="st" class="st">remove</span> a single test from *all* hosts?
<br>bb <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1/" target="_blank">127.0.0.1</a>  "<span id="st" name="st" class="st">hobbitdboard</span> test=MYTEST fields=hostname" |<br>
   while read H; do bb <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1/" target="_blank">127.0.0.1</a> "drop $H MYTEST"; done<br><br>> Or all tests from all hosts?<br>bb <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1/" target="_blank">
127.0.0.1</a>  "<span id="st" name="st" class="st">hobbitdboard</span> test=info fields=hostname" |<br>   while read H; do bb <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1/" target="_blank">
127.0.0.1</a> "drop $H"; done<br><br>> Or all tests that are purple?<br>bb <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1/" target="_blank">127.0.0.1</a>  "<span id="st" name="st" class="st">
hobbitdboard</span> color=purple fields=hostname,testname" |<br>while read L; do<br>      HOST=`echo $L | cut -d'|' -f1`<br>      TEST=`echo $L | cut -d'|' -f2`<br>      bb <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1/" target="_blank">
127.0.0.1</a> "drop $HOST $TEST"<br>done</div><br>