Re: Is there a way to have mutt automatically run a script at
- To: mutt-users@xxxxxxxx
- Subject: Re: Is there a way to have mutt automatically run a script at
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Thu, 25 Dec 2008 20:14:02 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=OcfWTZpaJYNzvv07GcZ4A/zLVZo=; b=X8Y+ 0WgDCpU2IO4TP+ARgFUEZp4nMo05TFmAHYVPfYd0SvhWThvdXe5cWPF01i2lpf8A vErMRGSoxh6s3Cf0Qp2b1cYBb/y83BnnzAHTyMO7Bfm4xzooGYnufBQzVgXMtj+T 9iR1PLPl7CR/ep/GnsElhkBo0h/mu4D1skm4nN4=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=R07tqr/AF1/1zPJdYrzfy78b+jbrqWTb0bnVJWQIoaV9PEFRF57djRXOQW1ijmZCh24TRAGhYZSJeQPUKB9qGYthsCVTNMmtqL8EDod6iM6psxVlrafyf9ZPXAuyXpULaqY/eFAAk8Q3tI57hIKIBB8nPoKO8lhbDmS3cWTuYIo=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20081226005659.GC1961@xxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20081225191334.GB1961@xxxxxxxxxxxxxxxx> <20081225204821.GE26327@xxxxxxxxxxxxxxxxx> <20081226005659.GC1961@xxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-09-25)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday, December 25 at 07:56 PM, quoth Chris Jones:
>`ls > /tmp/ls`
>
>.. in my .muttrc .. and despite an error message to the effect that the
>command doesn't exist .. it actually works.
The reason it generates the error is because mutt doesn't ignore empty
strings. Therefore, it's trying to interpret the empty string as if it
was a command. You can silence the error like so:
set my_junk=`ls > /tmp/ls`
~Kyle
- --
The next best thing to solving a problem is finding some humor in it.
-- Frank A. Clark
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAklUPdQACgkQBkIOoMqOI16F3wCg3eaQa7Y8YLrE40g/9izcSKH6
VoIAoM3kH7ncReQSGoQ7OIm+vwWWz8Bb
=Ge+g
-----END PGP SIGNATURE-----