From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MKvlAu7iT2EX4AAAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 05:03:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6GE1Ou3iT2G3TwAAB5/wlQ (envelope-from ) for ; Sun, 26 Sep 2021 03:03:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A6ECF27505 for ; Sun, 26 Sep 2021 05:03:09 +0200 (CEST) Received: from localhost ([::1]:51130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUKRY-0008I8-N0 for larch@yhetil.org; Sat, 25 Sep 2021 23:03:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUKRS-0008GH-AB for guix-patches@gnu.org; Sat, 25 Sep 2021 23:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUKRS-00068L-2d for guix-patches@gnu.org; Sat, 25 Sep 2021 23:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUKRR-0007hW-Ve for guix-patches@gnu.org; Sat, 25 Sep 2021 23:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50793] [PATCH 1/2] gnu: Add JSON.sh Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 03:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50793 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Stephen Paul Weber Cc: 50793@debbugs.gnu.org Received: via spool by 50793-submit@debbugs.gnu.org id=B50793.163262534529555 (code B ref 50793); Sun, 26 Sep 2021 03:03:01 +0000 Received: (at 50793) by debbugs.gnu.org; 26 Sep 2021 03:02:25 +0000 Received: from localhost ([127.0.0.1]:35272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUKQq-0007gc-UN for submit@debbugs.gnu.org; Sat, 25 Sep 2021 23:02:25 -0400 Received: from out2.migadu.com ([188.165.223.204]:21872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUKQn-0007gT-R1 for 50793@debbugs.gnu.org; Sat, 25 Sep 2021 23:02:23 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1632625340; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=q5+gGajz27mfua8TEFb5LoUdgcwUO3peWDcBRGImZPI=; b=ficB8HIIkPGgTVUHHrxmqruO03BrHE9c5uo6o+F8WkdfYGl2BSAhbSDYS/nrJoNkjzJ4zs oxJvNbltNkBRBYe7LDU/WkS0g7h1hb/y7/3UUaNiEHFXzmOkgBsiatFIvXWBMnWShJNoT1 0hVmZa2Y2v9tTcxpHhIXO2l5220Bsmg= From: Sarah Morgensen References: <20210925013848.GA2384@singpolyma-beefy.lan> <20210925013934.2763-1-singpolyma@singpolyma.net> <86k0j5wecb.fsf@mgsn.dev> <20210926010827.GA16766@singpolyma-beefy.lan> Date: Sat, 25 Sep 2021 20:02:18 -0700 In-Reply-To: <20210926010827.GA16766@singpolyma-beefy.lan> (Stephen Paul Weber's message of "Sat, 25 Sep 2021 20:08:27 -0500 (1 hour, 49 minutes, 58 seconds ago)") Message-ID: <86o88gujid.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632625389; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=q5+gGajz27mfua8TEFb5LoUdgcwUO3peWDcBRGImZPI=; b=nOcxAmSQgyWt6zbSZRWiE+GCQ7d1VnwvKiVF03KNjUrUNUKsYo+rqaQ/JiA/Z80fiuddaD i+jM2BOohfHrXhP1EKbBWPLn2Fq+mQvlYajnbv9R0liXMdxx+PV7NqyVZMJKNcb5XA79ak 4lp+kJPAiqYnwER8TkAMIrMw3O+oh6MW4MFJDpc0rQjj2qRs4aII4LF1nKqIcGQe7ASrJV 6uk72Gdvvt7584t6owuRsz1iO+KT0ILtSkm4SImch9Pb36dkvm3gy6MMwkNH8HiJ+WbOEH adccHdKqmLsmXjvh61RHPBsi1ayAgxkiA8xEB0OHsskGUAEcDqHU3ZtS19QBuw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632625389; a=rsa-sha256; cv=none; b=tMaV3vALfWwSfDZYqeAT1w3Ist52DhQrxplWmdLk8w/Cxp57QhJMqJPJIDgdXKcVlJCNcl MN/Op0fJQIKiuh6Z19UtMIsNrEMO1CmJMgLQbKTwC720I1giH7dv7p8/0LxjgR96ig56dX A+pd+1NT5okCQKVEqu44NyPuRokouuc2e9oHtcHxMyE+z5cUZjEcsHKXb749BUbnUEO8p9 xI3cPiCWp3YZSJ+Xa2s5yqIS+yHJ2zXaAXej4Bb1Ao1tHVAWTqre1H+BeQdwXVMRXGvH7V I/fHlzwEUCxB0/49St7zDPoYgXKSw/eCuuT/tQGtj9dxGBHoXf41ssRB+uu+qA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=ficB8HII; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=ficB8HII; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: A6ECF27505 X-Spam-Score: 0.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: IO6wL8RChQgH Hi, Stephen Paul Weber writes: >>> +(define-public JSON.sh >>> + (package >>> + (name "JSON.sh") >> >>I can't find a rule for this per se, but it's convention that package >>names to be lowercase (and for the variable name to match). > > Ok. Should I keep the . for "json.sh" or go with "jsonsh" ? Should I change the > script/command name to match? I'd keep the dot in the package name. We don't want to modify the actual script name in the package, though (we try to leave the actual contents of packages as unmodified as possible). > >>> + '("grep" "coreutils")) >> >>Does this script actually use coreutils? > > It uses printf 'printf' should just be calling the shell builtin: --8<---------------cut here---------------start------------->8--- $ type printf printf is a shell builtin --8<---------------cut here---------------end--------------->8--- -- Sarah