From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by ewsd; Sun Nov 11 06:32:17 EST 2018 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 384D6C11 for <9front@9front.org>; Sun, 11 Nov 2018 06:32:15 -0500 (EST) Received: from web3 ([10.202.2.213]) by compute1.internal (MEProxy); Sun, 11 Nov 2018 06:32:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:date:in-reply-to:subject:references; s=fm1; bh=R/w EC1KObSaz+CYI/4B+l2SA+CAo6srRrawAi70XECg=; b=BKbrkCfPyVBQ4T0Kxnf EgVpCuV5SNB3AqhCvXHi+kKFFICmUZlwxL4wbiCk1dTQCfgQPLUzD3KHn/IO1XlP Rvy9/4VVqWiuD/l54g37pOzinVmcl7wj0mazkpHxr7x+fjXY45gfahiw6jSdr0+M xHDdbrVnuf9+9MfUYICMKJkOvjxUMF9h87NuPHpRg14StfWV9bdYxJnf0RFhvFuh YwVJTneFnwliKofj128/5y0SYlSRNNa4phQVALgxtqoXEESxamUWxzIji9oUu6dm uayC7H3bXM4POp6MQl5J9MK8cf5Fe6fyc2D32Hlr2eKUotTui1L41g2lO/1sezFM YLQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding: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=R/wEC1KObSaz+CYI/4B+l2SA+CAo6srRrawAi70XE Cg=; b=ojBa41UXe/ehzoUnP/rQ6+hKla58jRRuNFGjhB1IgBUpJ5irsFKxTzbkk IuDIIZTalqwE3ArX2C8hDl1QnkY+vUxxLyAMG+qNkVMgpjJmINxNZrl3kON2M+Si +VFccDBKlAqm9s4mr4awuIafQ36VZNazbToG3A7zNOECww88WztMWtkGDHBr0h2s pQtHa63DAohZbcO6JR6P8YcnqCSOA901EMJC36HejniOeiZ7ortA6TtPvFIAe7p2 ahJqstG8ANxGu+WEXZXtiqRQ+KCpEd8PwnLKtC0/usz4Mh7iOGfgwYKuGgQSv/Bo 1DIhHNrdIqpKzfz1ERC1QTBGXE8bw== X-ME-Sender: X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 9BB109E451; Sun, 11 Nov 2018 06:32:14 -0500 (EST) Message-Id: <1541935934.1883208.1572931672.480E2ACD@webmail.messagingengine.com> From: Ethan Gardener To: 9front@9front.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-c0552f07 Date: Sun, 11 Nov 2018 11:32:14 +0000 In-Reply-To: <666DC733283F0655D5B3D817FDB6BF28@musolino.id.au> Subject: Re: [9front] man rc patch References: <666DC733283F0655D5B3D817FDB6BF28@musolino.id.au> List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: stateless database HTML over XMPP template API On Sun, Nov 11, 2018, at 6:59 AM, Alex Musolino wrote: > Why not just fix it? This patch [1] seems to do the trick for me. > > Perhaps also worth mentioning is that $"1 is redundant, since $#1 is > always 1; just say $1. why add code to support something which doesn't make sense? :) i thought it was a bug years ago, but then i realised there is no need for it. unlike the bourne shell, rc doesn't have an obsession with breaking up strings. once you've got a string in a variable, it's not going to be split again unless passed to eval. in fact, supporting $"1 could be said to be deceitful, hiding this great feature from newcomers. ;)