[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Mon Nov 29 08:17:07 2004 -->
- <!--x-from-r13: rfbgrevp ng 3gvzrf25.arg (Urbsserl) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] OT Bash Select Stmt -->
- <li><em>date</em>: Mon Nov 29 08:17:07 2004</li>
- <li><em>from</em>: esoteric at 3times25.net (Geoffrey)</li>
- <li><em>in-reply-to</em>: <<a href="msg01054.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg01054.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] OT Bash Select Stmt</li>
I don't know this is possible with select as it works, as you've likely
figured out, you end up with each line being split across different
select options. You might be able to build your own select by using
something like:
while read foo; do
...
...
...
done < file_that_contains_the_data_you_mentioned
As the read above will stick the whole line into the variable.
The difficult part is likely going to be filling in the rest of the code. :(
--
Until later, Geoffrey
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="01054" href="msg01054.html">[ale] OT Bash Select Stmt</a></strong>
<ul><li><em>From:</em> linux at jtholmes.com (linux)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01056.html">[ale] Poptop</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01058.html">[ale] Poptop</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01054.html">[ale] OT Bash Select Stmt</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01063.html">[ale] OT Bash Select Stmt</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01057"><strong>Date</strong></a></li>
<li><a href="threads.html#01057"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>