[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



    Keith> Hey guys, I'm not terribly familiar with all of the command
    Keith> line tools available, but basically what I am looking for
    Keith> is a "multi-line" echo tool.

    Keith> I would like to be able to is be able to type in multiple
    Keith> lines then when "submitted" the text would be sent to
    Keith> stdout.

    Keith> Something like vi(m) would be fine if it could just "save"
    Keith> to stdout. can it?

Maybe . . .

#!/bin/sh

vi /tmp/multiline.$$
if test $? -eq 0 ; then
  cat /tmp/multiline.$$
fi

rm -f /tmp/multiline.$$

exit 0

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
                      |  scary questions." -- Jules                =(___)=
                      |                                               U


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00288" href="msg00288.html">[ale] So I'm upgrading my FC3</a></strong>
<ul><li><em>From:</em> jsheets at yahoo.com (Jerald Sheets)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00285" href="msg00285.html">[ale] multi-line echo?</a></strong>
<ul><li><em>From:</em> keith at iqtv.com (Keith Morris)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00285.html">[ale] multi-line echo?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00287.html">[ale] multi-line echo?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00285.html">[ale] multi-line echo?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00288.html">[ale] So I'm upgrading my FC3</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00286"><strong>Date</strong></a></li>
<li><a href="threads.html#00286"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>