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 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: References: <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 , bug-bash To: Chet Ramey 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20190820151542.6pvfuk32niplx7pt@chaz.gmail.com> X-Mailman-Original-References: <87094e8a-3a60-5ad1-ac26-815a4a8a7ed7@case.edu> Xref: csiph.com gnu.bash.bug:15327 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