On Sun, Apr 08, 2001 at 07:30:05PM -0700, Igor Pruchanskiy wrote:
> Today i finally got to the Mutt MIME configuration part.
> I spent about 10 minutes trying to compile RunningX.ci, link to which i
> found on mutt.org. I was getting all kinds of errors and i did not feel
> like digging through that, so i came up with my own little RunningX
> replacement. Just a simple shell script.
>
> -- snip --
> #/bin/sh
> if [ "$DISPLAY" = " " ]
Did you really mean to compare with a space?
> then
> exit 0
> else
> exit 1
> fi
> -- snip --
>
Wouldn't something like this be faster?
--snip--
#/bin/sh
set -e
[ -n "$DISPLAY" ]
--snip--
--
Karl E. Jørgensen
[EMAIL PROTECTED]
www.karl.jorgensen.com
==== Today's fortune:
Mathematicians practice absolute freedom.
-- Henry Adams
PGP signature