On Tue, Mar 09, 1999 at 12:54:50AM -0600, Josh Hildebrand wrote:
> Certainly there is either a way to tell mutt to handle the spaces properly,
> or to create a macro that grabs the file name with
>
> | head -1 | cut -d ' ' -f 3-
>
> and then runs uudecode -o on it.. I'm not sure how to do that in mutt
> without writing an external script.. I'd prefer a better solution..
I'm not sure why an external script is not a better solution, something like:
<UNTESTED CODE>
#!/bin/sh
TEMP="/tmp/UU_$$"
cat >$TEMP
NAME="`grep begin | cut -d ' ' -f 3- ` "
uudecode -o $NAME $TEMP
rm -f $TEMP
</UNTESTED CODE>
Of course, you could also load the s-lang language patches into your version
of Mutt and write it in S-lang. (see http://www.katn.com/opensw/#mutt)
--
Later ...
Rich Roth --- On-the-Net
Direct: Box 927, Northampton, MA 01061, Voice: 413-586-9668
Email: [EMAIL PROTECTED] Url: http://www.on-the-net.com
~~~ www.i-depth.com lets you Add Instant Depth to your Website ~~~
~~~ Adding depths to Web presences and Internet providers ~~~~~