[Top][All Lists]

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

RE: loginfo and filenames with spaces

From: Shankar Unni
Subject: RE: loginfo and filenames with spaces
Date: Thu, 24 Apr 2003 10:55:56 -0700

> But there is problem with folders and filenames containing spaces

If your directory has spaces, you've got a much harder job. If it's just
the filename that has spaces, you may be able to get by by parsing the
arguments carefully in that if an argument doesn't have a
",oldrev,newrev" at the end, you can assume that it's a piece of a
filename and concatenate it to the next arg with a space separator.
This will handle filenames with single spaces.

Otherwise, your job is much, much harder: you'll have to write a script
that can heuristically examine the line and poke around in the
repository to match file names.

The best thing is to avoid file and directory names with spaces
completely. We usually avoid these here for a variety of other reasons
(e.g. in M$ Word and other M$ tools, the automatic "linkification" of
paths is confused by spaces and other sorts of punctuations).

reply via email to

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