On Mon, Apr 01, 2019 at 02:57:31PM +1000, Allan McRae <allan@archlinux.org> wrote:
"TODO bikeshed the separator"
We're in the rather unfortunate position that neither of our database formats can handle multiple arbitrary filenames on a single line without escaping. We can use -> in PKGBUILDs if you like, but for .PKGINFO and desc files I would pick a single character to make escaping easier.
I went for two character, in a combination that is unlikely to be used in the name of the alternative symlink itself. That way it is a split on first occurrence. I realize that someone will try an alternative with that pair of characters in their name... so yes, that needs addressed. My other thought was "::" like we use to split other things in makepkg. Would that be a compromise - two characters, but one?
How about /./? I've seen this being used by jailkit. A value could look like "foo/./usr/bin/foo-v1". This should be easy to escape/handle and it doesn't make a whole lot of sense to ever use this syntax in a real path. Florian