[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gNewSense-users] IMPORTANT: Formating error with the script

From: Bake Timmons
Subject: Re: [gNewSense-users] IMPORTANT: Formating error with the script & Problems with the
Date: Sun, 16 Mar 2008 12:22:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Thanks for your script--it's clearly helpful.

However, there is still a loss of information caused by the several
possible meanings of hyphens in the constructed URL:

1. Existing part of a directory or file name
2. Substitute for "/" in $RELATIVE_PATH
3. Section separator, as between Ubuntu-hardy and linux-2.6.24

Let's consider a script that might process your table.  While it is
certainly possible to reconstruct the full pathname (with slashes) of a
file, ambiguous hyphens complicate the script and create more work.

The single biggest improvement would be to address #2: e.g., instead of
using "-" as a separator in a path, use "--".  The key thing is to
choose a character or string that is *rarely found* in file or directory
names (i.e., with the same essential characteristic as "/").  "--" is
not pretty and does not work 100% of the time.  However, wiki pages will
*appear* no worse to the typical wiki user, and the cases that are still
ambiguous should be very few.  *Leading capitals* could also serve the
same purpose.

In any case, the table format is *already* a big improvement. :)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]