[18810] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: linux 8.4.20: htmlview

daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Feb 22 15:16:44 2001

Message-Id: <200102222016.PAA13542@egyptian-gods.MIT.EDU>
To: "t. belton" <tbelton@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: Your message of "Thu, 22 Feb 2001 13:46:03 EST."
             <Pine.GSO.4.30L.0102221341010.11020-100000@iphigenia.mit.edu> 
Date: Thu, 22 Feb 2001 15:16:38 -0500
From: Greg Hudson <ghudson@MIT.EDU>

> Greg: I believe this is one of the files which gets replicated for
> local-netscape, yes? I don't know if that happens automatically for
> this particular file, so FYI in case you need to copy it by hand.

Yeah, I'll deal.

Looking at the diff, I think you have a bug in the following two
lines:

+    exec $browserbin/lynx "$lynx_flags" "$url"
[...]
+exec $browserbin/lynx "$lynx_flags" "$url"

If lynx_flags isn't set, then "$lynx_flags" will expand to an empty
argument, which lynx will (probably) interpret as a filename.  You
want just $lynx_flags; this is one of the circumstances where you want
a shell variable to expand into a different number of words depending
on what it is.

Also, in your usage message, you have a tab before -c and eight spaces
before -f.  Not that it really matters, but it's been months since
I've complained about a tabs vs. spaces issue and I'm going through
withdrawl.

home help back first fref pref prev next nref lref last post