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. :)


_______________________________________________
gNewSense-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/gnewsense-users

Reply via email to