Yep.. that's what I would have written for an external script..  Can you
tell me how to call that script from, say, capital-S, in the 'view
attachment' menu of mutt?  I haven't bound keys before.


On Tue, Mar 09, 1999 at 12:18:44PM -0500, rfi from Rich Roth wrote:
> 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  ~~~~~
>       

-- 
Josh Hildebrand          Email: [EMAIL PROTECTED]
Digital Sluice           Pager: http://www.digitalsluice.com/josh/pager
Phone: 512-255-9797      Fax: 512-246-2861

Reply via email to