[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] multi-line echo?
- Subject: [ale] multi-line echo?
- From: fletch at phydeaux.org (Fletch)
- Date: Tue Nov 9 14:51:47 2004
- In-reply-to: <[email protected]> (Keith Morris's message of "Tue, 09 Nov 2004 14:41:06 -0500")
- References: <[email protected]>
>>>>> "Keith" == Keith Morris <keith at iqtv.com> writes:
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