To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / *6537 (-10)
  Re: Getting rif off the 8.3 nomenclature??? (scanf tricks)
 
(...) That's a nifty scanf trick. But don't forget, you might still want to (URL) trim leading and trailing whitespace> (tabs and space characters) from the parsed filename (and maybe even surrounding quotes). Don (18 years ago, 29-Mar-07, to lugnet.cad.dat.parts, lugnet.cad.dev, FTX)
 
  Re: Getting rif off the 8.3 nomenclature??? (scanf tricks)
 
(...) <snip> (...) Hi Jim, Thanks! I'll use it. Kevin (18 years ago, 29-Mar-07, to lugnet.cad.dat.parts, lugnet.cad.dev, FTX)
 
  Re: Getting rif off the 8.3 nomenclature??? (scanf tricks)
 
(...) misparse file names with blanks or tabs in them. (...) will be backward compatible and not cause problems (at least not for (...) I have no idea whether this could be worked into your sscanf usage, but it is possible to read whitespace into (...) (18 years ago, 29-Mar-07, to lugnet.cad.dat.parts, lugnet.cad.dev, FTX)
 
  Re: Getting rif off the 8.3 nomenclature???
 
(...) OK, that makes a lot more sense. LDView had the same problem with whitespace in filenames until I specifically added support for that. (LDView now gives you a warning when it encounters whitespace in a filename.) --Travis (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)
 
  Re: Getting rif off the 8.3 nomenclature???
 
(...) Sorry for posting to my own post. In particular if the "longer file names" cannot have blanks in the names, then there is no problem for LPub or LSynth. 20.3 would require no changes at to LPub or LSynth. Given that sscanf splits things up by (...) (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)
 
  Re: Getting rif off the 8.3 nomenclature???
 
(...) Travis it has to do with parsing. For type 1 lines and 8.3 I can simply use sscanf. Kevin (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)
 
  Re: Getting rif off the 8.3 nomenclature???
 
(...) Well, I still do ocasionally, when I'm using my remote MS-DOS based platform. And on my other platform, running on a Windows NT operating system, (URL) this nomenclature test> failed on the second line. (Although I do not fully understand the (...) (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts, FTX)
 
  Re: Getting rif off the 8.3 nomenclature???
 
(...) We are talking about official files in the parts library here. They're not going to have Unicode or special characters. If this isn't already explicitly in the spec for library filenames, we can certainly add it. As a side note, UTF-8 and (...) (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)
 
  Re: Getting rif off the 8.3 nomenclature???
 
(...) Couldn't that be dealt with by restricting the filenames to alphanumerics + the usual suspects (_ etc.)? My understanding was those were unchanged in any character set. Tim (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)
 
  Re: Getting rif off the 8.3 nomenclature???
 
(...) Call me paranoid, but long filenames make me nervous because of the other worms packaged along with them (like unicode or UTF-8, blech!). Sure your filenames might look great on Windows, but try to bring them over to another filesystem, or (...) (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR