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

[no subject]



How are you getting the text "in"?

If you're going to have a <STDOUT> method, you need a <STDIN> method as
well.

If you will be interactively typing in, I'd use a quick & dirty perl script
to gather your input   (  $input = <stdin> ) and then later, as you need it,
let perl output it.  ( print $input; )

If you are in the context of a script, and you have multiple lines coming
off <STDOUT>, you can pipe through the tee program which then sends your
text to both <STDOUT> and <STDERR>.  

Gimme a little more scenario, and I'd bet I can help you.


Jerald M. Sheets jr.
Sr. UNIX Systems Administrator
Datatrac, Inc
770.552.3866 x2494 
*****************
> su -
Password:
# cat /dev/flood > /dev/earth
# rdev noah+beasts
# dd if=noah+beasts of=/dev/earth

 

> -----Original Message-----
&gt; From: ale-bounces at ale.org [<a  rel="nofollow" href="mailto:ale-bounces";>mailto:ale-bounces</a> at ale.org] On 
&gt; Behalf Of Keith Morris
&gt; Sent: Tuesday, November 09, 2004 2:41 PM
&gt; To: Atlanta Linux Enthusiasts List
&gt; Subject: [ale] multi-line echo?
&gt; 
&gt; Hey guys, I'm not terribly familiar with all of the command 
&gt; line tools 
&gt; available, but basically what I am looking for is a 
&gt; &quot;multi-line&quot; echo tool.
&gt; 
&gt; I would like to be able to is be able to type in multiple lines then 
&gt; when &quot;submitted&quot; the text would be sent to stdout.
&gt; 
&gt; Something like vi(m) would be fine if it could just &quot;save&quot; to stdout. 
&gt; can it?
&gt; 
&gt; Thanks much!
&gt; 
&gt; -- 
&gt; :: Keith Morris
&gt; :: Creative Director
&gt; :: Design / Effects
&gt; :: IQ television group
&gt; :: Atlanta, GA
&gt; :: 404.255.3550
&gt; :: <a  rel="nofollow" href="http://www.iqtv.com";>http://www.iqtv.com</a>
&gt; 
&gt; 
&gt; _______________________________________________
&gt; Ale mailing list
&gt; Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>


</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="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="msg00286.html">[ale] multi-line echo?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00288.html">[ale] So I'm upgrading my FC3</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00288.html">[ale] So I'm upgrading my FC3</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00296.html">[ale] multi-line echo?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00287"><strong>Date</strong></a></li>
<li><a href="threads.html#00287"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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