[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Mon Nov 29 08:00:30 2004 -->
- <!--x-from-r13: yvahk ng wgubyzrf.pbz (yvahk) -->
- <!--x-message-id: [email protected] -->
- <!--x-subject: [ale] OT Bash Select Stmt -->
- <li><em>date</em>: Mon Nov 29 08:00:30 2004</li>
- <li><em>from</em>: linux at jtholmes.com (linux)</li>
- <li><em>subject</em>: [ale] OT Bash Select Stmt</li>
Anyone know a way to do the following.
I have the following lines in a file
Wspan01 06
Wspan02 06
I want to read them and put them in a select statement similar to
select name in ... Both Quit
such that the ... is the lines read and the select list look like this
1) Wspan01 06
2) Wspan02 06
3) Both
4) Quit
Tried everything I know and cant get it to work always wants to split
lines read into two Selections, no matter what FS is set to.
Thanks
jt
-------------- next part --------------
An HTML attachment was scrubbed...
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="01057" href="msg01057.html">[ale] OT Bash Select Stmt</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="01063" href="msg01063.html">[ale] OT Bash Select Stmt</a></strong>
<ul><li><em>From:</em> fletch at phydeaux.org (Fletch)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01053.html">[ale] Poptop</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01055.html">[ale] Poptop</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01062.html">[ale] Poptop</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01057.html">[ale] OT Bash Select Stmt</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01054"><strong>Date</strong></a></li>
<li><a href="threads.html#01054"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>