directory_statistics and pathnames with spaces
dean gaudet
dean-list-rdiff-backup@arctic.org
Tue, 25 Jun 2002 19:51:16 -0700 (PDT)
On Tue, 25 Jun 2002, Ben Escoto wrote:
> >>>>> "DG" == dean gaudet <dean-list-rdiff-backup@arctic.org>
> >>>>> wrote the following on Tue, 25 Jun 2002 16:41:18 -0700 (PDT)
>
> DG> hmm ben, i thought you were using some quoting function for the
> DG> pathname in the directory_statistics file? i see lots of paths
> DG> with spaces in mine ... it's still mostly parseable -- i can
> DG> just parse "left to right" instead of using fixed $n notations
> DG> in awk. but a bit of a pain.
>
> Do you mean parsing from "right to left"?
oops, yeah :)
> Anyway, I didn't realize that it would be a pain the way it is
> now. It would be pretty trivial to replace all spaces with '\x20', so
> I can do that in 0.9.2.
an alternative is to put the path at the end of a line rather than the
beginning.
but it isn't too hard to parse the way it is now. i just misunderstood.
-dean