view_attachments.sh and Leopard (solved)

This is a discussion on view_attachments.sh and Leopard (solved) within the Mutt forums in Other Technologies category; -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've been using view_attachment.sh from Eric Gebhart (no idea how to reach him...) for some time to view my attachments using mutt on OSX. I recently noted that under Leopard I was getting errors with it Actually this is caused by the change in the 'file' command which under Leopard uses -I for --mime instead of -i (SUS specification). To patch view_attachment.sh simply replace "file -bi" by "file -b --mime". Now everything is back to normal (i.e. working). Best, Sylvain -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iD8DBQFIuBmBu6JwgQ9Tr5kRAr68AKC4rEYdSX37x+UnjhPceZ cvdwlD1QCgorcD BvoaPuPqnLFFILXsbyc+B3s= =g8tX -----END PGP SIGNATURE----- ...

Go Back   Application Development Forum > Other Technologies > Mutt

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-29-2008, 11:45 AM
Sylvain Soliman
Guest
 
Default view_attachments.sh and Leopard (solved)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've been using view_attachment.sh from Eric Gebhart (no idea how to
reach him...) for some time to view my attachments using mutt on OSX. I
recently noted that under Leopard I was getting errors with it

Actually this is caused by the change in the 'file' command which under
Leopard uses -I for --mime instead of -i (SUS specification).

To patch view_attachment.sh simply replace "file -bi" by
"file -b --mime". Now everything is back to normal (i.e. working).

Best,

Sylvain

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iD8DBQFIuBmBu6JwgQ9Tr5kRAr68AKC4rEYdSX37x+UnjhPceZ cvdwlD1QCgorcD
BvoaPuPqnLFFILXsbyc+B3s=
=g8tX
-----END PGP SIGNATURE-----

--
Sylvain Soliman <Sylvain.Soliman@RmThis.m4x.org> GPG Key: 0x0F53AF99
Co-mainteneur de PilotGOne http://minas.ithil.org/pilotgone/
Page personelle http://contraintes.inria.fr/~soliman/
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:48 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.