<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Perfect! Solved!<br>
<br>
Thanks, John<br>
<br>
On 07/26/2015 09:15 PM, Andrew Resch wrote:<br>
</div>
<blockquote
cite="mid:CAAHy0xAAaQAG7trG_b3PtQP-NxoPFAXYCdO+CiDASHjyOEC41A@mail.gmail.com"
type="cite">
<div dir="ltr">Try this:
<div><br>
</div>
<div>OUTPUT=$(kdialog --title "Input" --inputbox "Type
something")</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Jul 26, 2015 at 9:09 PM, John
Blomfield <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jabfield@shaw.ca" target="_blank">jabfield@shaw.ca</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">I want to
use the command kdialog that produces an input GUI and
captures the text in a bash script something like this:<br>
<br>
#!/bin/bash<br>
<br>
kdialog --title "Input" --inputbox "Type something"<br>
# kdialog sends the output to stdout ie prints on the
command line but I want it to go to a variable like this:<br>
<br>
OUTPUT=&1<br>
<br>
But this does not work.<br>
<br>
Any help would be appreciated.<span class="HOEnZb"><font
color="#888888"><br>
<br>
John<br>
<br>
<br>
-- <br>
John Blomfield<br>
Delivered by Thunderbird Email on Linux OpenSuse-KDE4<br>
<br>
<br>
<br>
_______________________________________________<br>
Discuss mailing list<br>
<a moz-do-not-send="true" href="mailto:Discuss@vlug.org"
target="_blank">Discuss@vlug.org</a><br>
<a moz-do-not-send="true"
href="http://lists.vlug.org/mailman/listinfo/discuss"
rel="noreferrer" target="_blank">http://lists.vlug.org/mailman/listinfo/discuss</a><br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
John Blomfield
Delivered by Thunderbird Email on Linux OpenSuse-KDE4
</pre>
</body>
</html>