[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Tue Nov 9 15:30:39 2004 -->
- <!--x-from-r13: xrvgu ng vdgi.pbz (Yrvgu [beevf) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] multi-line echo? -->
- <li><em>date</em>: Tue Nov 9 15:30:39 2004</li>
- <li><em>from</em>: keith at iqtv.com (Keith Morris)</li>
- <li><em>in-reply-to</em>: <[email protected]></li>
- <li><em>references</em>: <[email protected]></li>
- <li><em>subject</em>: [ale] multi-line echo?</li>
echo "Here is the file you wanted" | mutt -s "File Attached" -a
/home/keith/somefile.tgz you at example.com
But I would rather edit the text in a vi type of environment and when I
:wq! it would send the buffer to <stdout> and be piped through mutt.
I really don't even know if that is the best way to do it, but using
mutt that way has worked pretty well for me so far.
Thanks a bunch.
:: Keith Morris
:: Creative Director
:: Design / Effects
:: IQ television group
:: Atlanta, GA
:: 404.255.3550
:: <a rel="nofollow" href="http://www.iqtv.com">http://www.iqtv.com</a>
Jerald Sheets wrote:
> Well....
>
> 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-----
>>From: ale-bounces at ale.org [<a rel="nofollow" href="mailto:ale-bounces">mailto:ale-bounces</a> at ale.org] On
>>Behalf Of Keith Morris
>>Sent: Tuesday, November 09, 2004 2:41 PM
>>To: Atlanta Linux Enthusiasts List
>>Subject: [ale] multi-line echo?
>>
>>Hey guys, I'm not terribly familiar with all of the command
>>line tools
>>available, but basically what I am looking for is a
>>"multi-line" echo tool.
>>
>>I would like to be able to is be able to type in multiple lines then
>>when "submitted" the text would be sent to stdout.
>>
>>Something like vi(m) would be fine if it could just "save" to stdout.
>>can it?
>>
>>Thanks much!
>>
>>--
>>:: Keith Morris
>>:: Creative Director
>>:: Design / Effects
>>:: IQ television group
>>:: Atlanta, GA
>>:: 404.255.3550
>>:: <a rel="nofollow" href="http://www.iqtv.com">http://www.iqtv.com</a>
>>
>>
>>_______________________________________________
>>Ale mailing list
>>Ale at ale.org
>><a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <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>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00295" href="msg00295.html">[ale] multi-line echo?</a></strong>
<ul><li><em>From:</em> jsheets at yahoo.com (Jerald Sheets)</li></ul></li>
<li><strong><a name="00297" href="msg00297.html">[ale] multi-line echo?</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00419" href="msg00419.html">[ale] multi-line echo?</a></strong>
<ul><li><em>From:</em> jasonday at worldnet.att.net (Jason Day)</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="msg00290.html">[ale] So I'm upgrading my FC3</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00292.html">[ale] So I'm upgrading my FC3</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00299.html">[ale] multi-line echo?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00295.html">[ale] multi-line echo?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00291"><strong>Date</strong></a></li>
<li><a href="threads.html#00291"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>