Re: A strange behaviour of a File property
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Sat, 12 Nov 2011 17:25:39 -0500
On 11/11/2011 10:21 PM, Andreas Leitgeb wrote:
Eric Sosman<esosman@xxxxxxxxxxxxxxxxxxxx> wrote:IMHO, Java errs in exposing any "path separator" at all, because
it just encourages string-bashing. Note that in some file systems
there is no such thing as a "path separator;" on one such I had
files with names like
SYS$DISK:[USERS.ERIC.PROJECT]README.TXT;22
Such beasts still exist in the wild?
Yes !
$ type DISK2:[ARNE]HELLOWORLD.JAVA;1
public class HelloWorld {
public static void main(String[] args) throws Exception {
System.out.println("Hello world!");
}
}
$ javac helloworld.java
$ java "HelloWorld"
Hello world!
Arne
.
- Follow-Ups:
- Re: A strange behaviour of a File property
- From: Andreas Leitgeb
- Re: A strange behaviour of a File property
- References:
- A strange behaviour of a File property
- From: alelvb
- Re: A strange behaviour of a File property
- From: Andreas Leitgeb
- Re: A strange behaviour of a File property
- From: Eric Sosman
- Re: A strange behaviour of a File property
- From: Andreas Leitgeb
- A strange behaviour of a File property
- Prev by Date: Re: A strange behaviour of a File property
- Next by Date: Re: A strange behaviour of a File property
- Previous by thread: Re: A strange behaviour of a File property
- Next by thread: Re: A strange behaviour of a File property
- Index(es):
Relevant Pages
|