To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10559
10558  |  10560
Subject: 
Re: Unofficial directory (with non-standard name lenght)? (Was: LDView 3.1 on Mac OS X!)
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 2 Mar 2007 13:51:28 GMT
Viewed: 
4563 times
  
In lugnet.cad.dev, Allen Smith wrote:
   In lugnet.cad.dev, Timothy Gould wrote:

   I would certainly recommend against using spaces in filenames as Linux (and possibly MacOSX) won’t like it.

The only character either Linux or Mac OS X is allergic to is ’/’. Spaces are perfectly acceptable under both. One need only take care that any paths fed to the shell are properly escaped. Ideally anybody writing shell scripts or system() calls would handle special shell characters in their input. Admittedly this is not always the case, but such cases should be considered bad coding. (For example, Apple once released an iTunes updater that could rm the hard drive because they forgot spaces in volume names.)

Allen

Yeah I know they can be included but it’s usually a safe idea not to. When setting a standard I’d be wary of allowing anything that is commonly poorly interpreted (which I suspect the escaped characters are).

Tim



Message is in Reply To:
  Re: Unofficial directory (with non-standard name lenght)? (Was: LDView 3.1 on Mac OS X!)
 
(...) The only character either Linux or Mac OS X is allergic to is '/'. Spaces are perfectly acceptable under both. One need only take care that any paths fed to the shell are properly escaped. Ideally anybody writing shell scripts or system() (...) (18 years ago, 2-Mar-07, to lugnet.cad.dev, FTX)

39 Messages in This Thread:











Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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