Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: path names?



I've always thought that the last item in a path/name/here that does not
have a slash after it is usually a file. But I've seen many times the
documentation will say "put xxx file in /System/Library" instead of
"/System/Library/" in those particular instances it is pretty obvious what
they're talking about, but even then I'm not familiar enough with unix to
know if the system does something different (at the commandline or in paths)
if you specify a trailing slash or not. I know in DOS there are times when
you have to put a trailing backslash and other times when you do not.
So far the concensus is that /path/name/here and /path/name/here/ are
exactly the same in all situations in unix?

Clint McIntosh -- email@hidden


on 4/29/2003 4:34 PM, nathan r. hruby at email@hidden wrote:

> On Tue, 29 Apr 2003, Clint McIntosh wrote:
>
>> What is the difference between:
>> /path/name/here and /path/name/here/ ?
>>
>
> The first example is the file "here" in the directory "name" which is a
> subdirectory of "path".
>
> The second example is the subdirectory "here" in the directory "name"
> which is a subdirectory of "path".
>
> For example:
> " Edit the INCLUDE option with the name of the file you want to include,
> in the format of "/path/name/here". Then edit the location of the
> SPOOLFILE option with the name of the directory you want it to dump spools
> into , like "/path/name/here""
>
> Often you can leave off the trailing / from a directory name, but in
> writing documentation it's always best to include it to make it clear what
> you're talking about
>
> -n
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.