Subject:
|
Re: parts.lst and mklst(?).exe.
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Tue, 21 Dec 1999 17:22:41 GMT
|
Viewed:
|
628 times
|
| |
| |
Johannes Keukelaar wrote...
> Hi all!
>
> The other day I was working a bit on a program that can parse dat
> files under linux. Now, I have my dat files, along with ldraw and
> mlcad installed on a Windows partition. All the dat files that come
> with the ldraw package and updates there have names with all lowercase
> letters, i.e. 1234a.dat. However, in the parts.lst file, made by
> mklst(?), all these names are listed as i.e. 1234A.DAT, that is, with
> uppercase letters. Now, the windows filesystem knows the preferred
> case of the filenames, which, in this case happens to be all
> lowercase, but when opening files it is actually case-insensitive, so
> you can open 1234a.dat as 1234A.DAT, or even 1234a.DaT, and it will
> work.
>
> When mounted under linux, however, this will not work. If the filename
> of the file is 1234a.dat with all lowercase, you will have to open it
> with all lowercase, or the file will not be found.
It does work, you can open either 1234a.dat or 1234A.DAT, or even 1234a.DaT.
The fat/vfat/msdos filesystem in Linux is case-insensitive.
Try it!
> Is there any chance that the mklst program could be modified to
> accurately reflect the case of the files in question? I.e., if a file
> is called 1234a.dat, could it be entered in the parts.lst file as
> such, rather than 1234A.DAT? Or is this information perhaps not
> available to pure MSDOS programs, as mklst.exe must be?
Pure MSDOS programs see all files in uppercase.
/Lars
|
|
Message has 1 Reply: | | Re: parts.lst and mklst(?).exe.
|
| (...) The default behavior is to be case insensitive but you can set an option to make it case sensitive, take a look at the man page for mount. Leonardo (25 years ago, 21-Dec-99, to lugnet.cad.dev)
|
Message is in Reply To:
| | parts.lst and mklst(?).exe.
|
| Hi all! The other day I was working a bit on a program that can parse dat files under linux. Now, I have my dat files, along with ldraw and mlcad installed on a Windows partition. All the dat files that come with the ldraw package and updates there (...) (25 years ago, 21-Dec-99, to lugnet.cad.dev)
|
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|