12 Jun 2011 karlberry   » (Master)

Finally changed mktexlsr (in the TeX Live pretest) to support trees with spaces in the name. Long ago had lazily processed args with simply

trees="$trees $1" # which obviously loses when $1 contains a space

Since we certainly can't use arrays or any other advanced (ba)sh features, and rewriting in Perl would have been much more work, I now just write $1 to a temp file and then read it back with IFS=''. Of course names with newlines will still fail, but no one ever complains about those and doing \0 terminators was also too much trouble. I guess the goal is to be as lazy as possible (but no lazier)?

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!