[vorbis-dev] oggenc -n legal filename issue
Simon Hosie
simon.hosie at clear.net.nz
Thu Aug 9 16:37:59 PDT 2001
I was about to patch oggenc to replace '/' in the strings included in the -n format [*], but that's too platform specific. Thinking waaaaay back, I realise that it's not even Windows versus the rest of the world. How should this be handled? The Windows criteria are probably generally useful, they include nuisance characters for shells, but I wouldn't like to lose colon unnecessarily (pun suppressed). It does make me wonder, though, whether there should be a configurable pair of 'tr' arguments, with different defaults for different operating systems.
[*] Specifically those that come about through '%*', if you chose to include them in the format string itself, that's your business.
Additionally, if you do choose to include directory separators in the format string, should oggenc create the directory rather than fail, or assume that you had the firesight to create them yourself and fail otherwise?
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list