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


Groups > gnu.bash.bug > #15327

Re: Pathname expansion vs. filename expansion

Path csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From Stephane Chazelas <stephane.chazelas@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Pathname expansion vs. filename expansion
Date Tue, 20 Aug 2019 16:15:42 +0100
Lines 36
Approved bug-bash@gnu.org
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>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace usenet.stanford.edu 1566314150 27586 209.51.188.17 (20 Aug 2019 15:15:50 GMT)
X-Complaints-To action@cs.stanford.edu
Cc konsolebox <konsolebox@gmail.com>, bug-bash <bug-bash@gnu.org>
To Chet Ramey <chet.ramey@case.edu>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Fhu9XZNC93LAe9OjdQSNLdc0s4Wx2BJHHTqOibHhQWc=; b=dQbHv8xN/4FW1dcDsFdB+AWdC0D0N8VCO6RFROr2bVp7AGUG35laQtObQ9zA0zcnxJ hHRfaomnsNSJnhSFIByYaysBowvfSVg4VN4Hry5u8MDqgWP6GO8AE5BWbui2HQNkN3Cb X5ILwLn3eBzTGwacFt/DJjWIkFEYuMcVRpaVTHMjCRWOhieAeeYl8jrCoUUCGQShYbJQ KoabR6xUra1aUWFtJV9Al222ZZm2O+4Z8JbfHO4+lrp3enXpucnv++m4VXtsOV/FLO2E +BPY1NCoHtsyrsaIzRMTD/vPbkLcmC16beBfMq0rsB5ayOfvgXVTd9CWmFv0nEDIZpHa SnSw==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Fhu9XZNC93LAe9OjdQSNLdc0s4Wx2BJHHTqOibHhQWc=; b=Ji3JuG9HZpOez1iN10pb9NQy+e5apTMDyl0Ul1XPjUIGgEULq+2ZJqq0+SBFOujgpM CEEMgZ8NK/Ks3U6epV1H+1kHoKci3RK318jG+LUvF2g/Kpq1KEFmh3KF8igvaF4+HBnq /1BKKgYwNCkvALdovnYcslvsTHkbAeEuL1OMtaKP7dNLbyUZwFmN97mEg0224+QfdcTT CzYC5CbNut9t489K4XjYHfiMlHbxMTqH8wfhBh/Od0SzyZzMYSI88toeMFBq9KisTIyt G8utFzsakY02JVDySxshhifq+XDCE9OJq9fjUcAI4WVdnWw4McAeXREqy1o5Wmd6qhKe KtKA==
X-Gm-Message-State APjAAAVbUZxf6b6hQTMyfoZvcJTzKYihNTxRMkEshVoJ7vQMVg33cMuz am59nmB6yqF6qoe1c5fQxo8=
X-Google-Smtp-Source APXvYqyNQBdOv58kclsVzawGCBYHEBZrAycErO3n1HNC0rh4UDGcKnbhZzp+hefCFzbTUTbxk2LFvw==
X-Received by 2002:adf:91c2:: with SMTP id 60mr36793533wri.334.1566314143926; Tue, 20 Aug 2019 08:15:43 -0700 (PDT)
Content-Disposition inline
In-Reply-To <87094e8a-3a60-5ad1-ac26-815a4a8a7ed7@case.edu>
User-Agent NeoMutt/20171215
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2a00:1450:4864:20::42d
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <20190820151542.6pvfuk32niplx7pt@chaz.gmail.com>
X-Mailman-Original-References <CAJnmqwY42QvC5FO_35efmPnuookSfvGm2_hWtxmaCp_FCSyhDw@mail.gmail.com> <87094e8a-3a60-5ad1-ac26-815a4a8a7ed7@case.edu>
Xref csiph.com gnu.bash.bug:15327

Show key headers only | 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