[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can't use a filename with a colon in it?
From: |
Peter Chubb |
Subject: |
Can't use a filename with a colon in it? |
Date: |
Sun, 02 Aug 2009 19:02:27 +1000 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 MULE XEmacs/21.4 (patch 21) (Educational Television) (i486-linux-gnu) |
Hi,
I'm typesetting a little setting of Jn 3:16 I composed, in a
file called Jn3:16.ly. Lilypond can't see the file! It seems to be
trying to open 16.ly instead.
From strace;
...
stat64("/usr/share/lilypond/2.12.2/scm/16.ly", 0xbfc06ce4) = -1 ENOENT (No such
file or directory)
stat64("/usr/share/lilypond/2.12.2/ps/16.ly", 0xbfc06ce4) = -1 ENOENT (No such
file or directory)
stat64("/usr/share/lilypond/2.12.2/ly/16.ly", 0xbfc06ce4) = -1 ENOENT (No such
file or directory)
stat64("16.ly", 0xbfc06ce4) = -1 ENOENT (No such file or
directory)
...
$ lilypond Jn3\:16.ly
GNU LilyPond 2.12.2
warning: cannot find file: `Jn3:16.ly'
error: failed files: "Jn3:16.ly"
To reproduce:
echo '\version "2.12.2"' > 'Jn3:16.ly'
lilypond 'Jn3:16.ly'
On Posix compliant systems the *only* two characters illegal in a file
name are the slash ('/' which is used as a directory separator) and the
NUL that terminates a C string.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
- Can't use a filename with a colon in it?,
Peter Chubb <=