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


Groups > gnu.bash.bug > #15328

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:30:21 +0100
Lines 36
Approved bug-bash@gnu.org
Message-ID <mailman.509.1566315028.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> <20190820153021.w777rizqvsgmi4nf@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 1566315029 28135 209.51.188.17 (20 Aug 2019 15:30:29 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=bpIKfW7RrfaSs6kfZE56P+/RVsf6H/y+45SejpcvvSo=; b=SW4JgruX6PUgTxOoa5N6msXvOMCPVt7Lq/8El5/8HOC7Bq4uXbtkb1zfMgt1b6mfF4 gE7PdkdqlUbNhVZAJskZrkUkdaiDq1ASRcNsougtyqUgXk5yoLwB3/95z84UPAtQE7Zs izGteCUwMWzR/YIa4R5g7LHduSza/T5sHWHok9qY9MwsEmjTlsbOOkl9x+tRl78Nj9pN 3eCsxzj20iXlg4hM6Q5fV5A2RQt2YPPThH/KQMLR8WFArbBdcxKwzOE8BtIyNKCWafzK iPvlYIMbzrqEAuMMIRxsc9paJiskilVVa/fYTCLQ1bWun4fsEUOPTtR0vFfnQMfuHDAF boFA==
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=bpIKfW7RrfaSs6kfZE56P+/RVsf6H/y+45SejpcvvSo=; b=J041CZ75uIcICVO7K77gDAQyT5pm3JjHcm2ye4mMB9LtwVEeHyO1wcZcx2kNQs5rN4 T7ibRU9zXvmpHcwhi8EHev7bqBiykeqT9myycUAXY3+MfkFiLSQcWzsL3k4/UPKagHPz rNYKVs7hX6oeJ47wxQBfYirrW7xos4Ds13FC7xrMeiE/UXhgeEvmRS7hQ4umcFoxDBk1 JoC+RMthhpl3BJRNX+auhU+aLuOQofE7rnUw5aRhUdwORxiMboWrbcfDGcXSbwR74Ye+ KV6EzYlRHTSGjxuTaQwpyuCMOTlK+etElJSNmiSEnVTLF0/0lXg/GSiUShdtXMrF4lYX KOMg==
X-Gm-Message-State APjAAAWHauSt9tC3vrCpVoqiZUxgG4yZiTzVMjp0NP6jND4SYbs8Z22n 8JsKxiYGdRvanxPvsPAhHbI=
X-Google-Smtp-Source APXvYqzPvY3UGu1CgUIP+BpbaTWVVRSoPn2s1Y6aGA7N8Z0ADQ3rvVgtndJSNvQry0sD/lHc91jQYg==
X-Received by 2002:a1c:a7c9:: with SMTP id q192mr591255wme.144.1566315023881; Tue, 20 Aug 2019 08:30:23 -0700 (PDT)
Content-Disposition inline
In-Reply-To <20190820151542.6pvfuk32niplx7pt@chaz.gmail.com>
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::32a
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 <20190820153021.w777rizqvsgmi4nf@chaz.gmail.com>
X-Mailman-Original-References <CAJnmqwY42QvC5FO_35efmPnuookSfvGm2_hWtxmaCp_FCSyhDw@mail.gmail.com> <87094e8a-3a60-5ad1-ac26-815a4a8a7ed7@case.edu> <20190820151542.6pvfuk32niplx7pt@chaz.gmail.com>
Xref csiph.com gnu.bash.bug:15328

Show key headers only | View raw


2019-08-20 16:15:42 +0100, Stephane Chazelas:
[...]
> 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
[...]

Actually, Unix V1 in 1970 already used "pathname" for that, long
before the concept of the environment (let alone $PATH) was
introduced.

I don't know why rms insists on using "file name" here which at
best is ambiguous.

See
https://lists.gnu.org/archive/html/bug-standards/2009-11/msg00003.html
and rms response:
https://lists.gnu.org/archive/html/bug-standards/2009-11/msg00005.html

See also "filename generation" or "globbing" which avoid the
potential confusion with ~user and <(...) which also are
"pathname expansion" operators.

-- 
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:30 +0100

csiph-web