From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12935 invoked from network); 7 Oct 2020 02:27:46 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 7 Oct 2020 02:27:46 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id BE8DA9CF92; Wed, 7 Oct 2020 12:27:41 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 7E1729CF6D; Wed, 7 Oct 2020 12:26:48 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=fastmail.com header.i=@fastmail.com header.b="nOGDjOwe"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="o1IidSMo"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id C60019CF6D; Wed, 7 Oct 2020 12:26:45 +1000 (AEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by minnie.tuhs.org (Postfix) with ESMTPS id 9C70D9CF59 for ; Wed, 7 Oct 2020 12:26:44 +1000 (AEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 07A205C0003 for ; Tue, 6 Oct 2020 22:26:44 -0400 (EDT) Received: from imap35 ([10.202.2.85]) by compute4.internal (MEProxy); Tue, 06 Oct 2020 22:26:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm1; bh=X92Nhfq6N65h6cRYaTprnkXDJk0krtd aNXB6G2KJfkA=; b=nOGDjOweAmVuwJvDYL+eZBvjWn0MMau1ueJEVJOwqQ1edgd hAMjYJTWM2enfFrihmoMCKAGz1tFd+Bglv+/dkMytWEbPEKBKSGR67eHPZFT/tuH tzdEgWAdjEiLL8tUbo7AVYuxnydQrWhDZzqkw3YwYxIjHTY+3Xi3zs/KLNcuK0XT z3Ns/bsxwT9J5G5YFwHHH4/sbOT7TvfQkliJWwdmY1w8FMxhRX9oNnakBT9y9D0d 5ceoKqR0ahrx/GWjxaffI17LrlW1z85nQAr5lLo6UkWAthRaz/NssvbAx41E8ZS5 y3292TOvg0G2y6MD6gANEXuPaZqt8ZYI2DHzj2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=X92Nhf q6N65h6cRYaTprnkXDJk0krtdaNXB6G2KJfkA=; b=o1IidSMoFUC+FX16Xq1qnV a32zjgX+h9rcXAehY8EnOzIZQVG2aiJSjAPbamficYayGTQjcOkGWGTmueMQo7t9 SMVG5Eh0TFBXDSAk8n95IonseVH4kHXK+tFFoTW2AUGQjI4zsHIro5H/TeRUcLHD TjO088nh+jtwRvQL0h9FE20OSCTgpmyXADnuK7CXc3u57BWj15feWv4GwA2UQJBy 7GpwbVM20oRrLRwYsxkIIGy4QAJWiEPOn7tHu0cyk9OM8Kch+0s6eYQZC8T+/V+R uCtbR5CvDDOh6peyvfWBqpBLswke0FkUVLkcT5o7ptN7sQmMhUrx02ZW7DD3fdyw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrgeehgdehlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesthdtre dtreertdenucfhrhhomheptfgrnhguohhmkeefvdcuoehrrghnughomhekfedvsehfrghs thhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepieefvedtveelffehudejgfejie ffffehleetfeefheelkeeuheelfeeuleegudffnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomheprhgrnhguohhmkeefvdesfhgrshhtmhgrihhlrd gtohhm X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3CB0E14C0976; Tue, 6 Oct 2020 22:26:42 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-407-g461656c-fm-20201004.001-g461656c6 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Tue, 06 Oct 2020 22:25:37 -0400 From: Random832 To: TUHS Content-Type: text/plain Subject: Re: [TUHS] Origins of globbing X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Tue, Oct 6, 2020, at 11:17, John Cowan wrote: > Globbing was uninterpreted by the shell-equivalent in the DEC OSes, and > was understood only by a few programs, those responsible for listing > directories and copying, renaming, and deleting files. Universal > globbing in the shell was AFAIK original with Unix it's worth mentioning that "universal" globbing comes with restrictions that operating systems where programs interpret globs don't have: you can't reliably pass a glob as an option argument, or as an argument which refers to files that do not exist in the filesystem, without quoting it, which requires additional quoting when you want a literal * or ? character. Quoting is also required even when the argument position is not semantically a set of filenames at all. Also, since you mentioned renaming, MS-DOS/Windows, at least, has a primitive 'rename one glob to another' [it has rules that technically give meaning to any destination glob, but it's most sensible when you want to change the filename extension of a set of files] function that's not possible either on Unix [though utilities do exist to perform various transformations on the name of a set of files to be renamed] Although, sometimes the results can be surprising - the MS-DOS/Windows "copy" command, for example, *concatenates* a globbed set of files [achievable with a list of filenames by separating them with plus signs] rather than copying them separately into a destination directory.