Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15327

Re: Pathname expansion vs. filename expansion

From Stephane Chazelas <stephane.chazelas@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Pathname expansion vs. filename expansion
Date 2019-08-20 16:15 +0100
Message-ID <mailman.506.1566314150.30381.bug-bash@gnu.org> (permalink)
References <CAJnmqwY42QvC5FO_35efmPnuookSfvGm2_hWtxmaCp_FCSyhDw@mail.gmail.com> <87094e8a-3a60-5ad1-ac26-815a4a8a7ed7@case.edu> <20190820151542.6pvfuk32niplx7pt@chaz.gmail.com>

Show all headers | View raw


2019-08-20 10:08:10 -0400, Chet Ramey:
[...]
> However, at some point -- I can't find it now -- the GNU documentation
> standards recommended using "filename" and "filename expansion," reserving
> "pathname" for colon-separated values like $PATH.
[...]

I think you're refering to:

https://www.gnu.org/prep/standards/html_node/GNU-Manuals.html#GNU-Manuals

GNU> Please do not use the term “pathname” that is used in Unix
GNU> documentation; use “file name” (two words) instead. We use the
GNU> term “path” only for search paths, which are lists of directory
GNU> names. 

So I guess that should be "file name expansion"

That's probably not the right place to argue whether that GNU
recommendations makes sense, but note that the FTP RFC (1985
https://www.ietf.org/rfc/rfc959.txt, so predates POSIX if not
the GNU project) defines pathname as

pathname

  Pathname is defined to be the character string which must be
  input to a file system by a user in order to identify a file.
  Pathname normally contains device and/or directory names, and
  file name specification.  FTP does not yet specify a standard
  pathname convention.  Each user must follow the file naming
  conventions of the file systems involved in the transfer.


-- 
Stephane

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Pathname expansion vs. filename expansion Stephane Chazelas <stephane.chazelas@gmail.com> - 2019-08-20 16:15 +0100

csiph-web