On Tue, Apr 17, 2012 at 11:36:04AM -0500, David Champion wrote:
> TTY=$(tty); echo mymaildir | xargs -I{} sh -c "mutt -f '{}' <$TTY"

Nice!  I wasn't familiar with that usage of xargs...

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.

Attachment: pgpSOEH6fZN1Z.pgp
Description: PGP signature

Reply via email to