From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YF0wMJQpyGKZOQAAbAwnHQ (envelope-from ) for ; Fri, 08 Jul 2022 14:56:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cJtBMJQpyGJVgQAAauVa8A (envelope-from ) for ; Fri, 08 Jul 2022 14:56:52 +0200 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 3D8952DA26 for ; Fri, 8 Jul 2022 14:56:52 +0200 (CEST) Received: from localhost ([::1]:44240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9nXM-0001Lq-0m for larch@yhetil.org; Fri, 08 Jul 2022 08:56:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9nWl-0001Kn-H6 for guix-devel@gnu.org; Fri, 08 Jul 2022 08:56:11 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:56042) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9nWf-0002gk-Oq; Fri, 08 Jul 2022 08:56:10 -0400 Received: by mail-wm1-x32f.google.com with SMTP id l42so2684618wms.5; Fri, 08 Jul 2022 05:56:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=kATyPzK88eWrr0L7nPLvwT2FBYzt+Jd6STuS05g+oXU=; b=G3vjxXaLjKTVjFgD72OEEuLI9bH3SIPvePksnscLAXUqGbCeu+/Uqb2CKA1hSmyn4i 3gW108WPTem8XVJ23fYUIGPW3iq3cmAUpGcKvK5VlausSTsFwEj2EOOua7Obdf7tqTF1 +Aw/BK4Kbq9Al9OzE5RO001EnGP1PausM4dPbRmn67aXprPzibl+4F3xaabfFRCEHGPC ATAFS3XkJ7tips0S3poQrCYqcI8yLS+/w80Z2VNFJpIwIih++Oil0ln3w6LfdcJ5pYWh pFr+SnmGg8reCc1LOHlNKNn7vJ8FoyITLz8Zamd657pk7lDSrqZ219BHsa+6bheJ7uW8 86BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=kATyPzK88eWrr0L7nPLvwT2FBYzt+Jd6STuS05g+oXU=; b=oPqylVJidN3snNQfky801HwXUoz9zvTRc5aYEj54MTUUVR76gGCbnHCLfswQnNKthI xOwddlIONHLm9AGwDvLozVkGz1BddpKFVxg5hNBQPeDU1BiRWm8Oqr04Nx9/FEAzQpmf IJV7+N7P5KMyEh71WHPor7ahfVs3y3UyDF7FyCGLCS+HPuEk9BBo6l0XnJw5NFLOtY6o 2Ps6mvhUfLApd3zj52QTBHxxabKe2oG5Y1Fh/tz1xDLyGqxd7+ShQimFnmXdLxvhXL+h mQQa23Y6AioEZXbxkwKtd6oz590k85GaHKvLQLT6euXJmYyllmoGBruFdNEF5G4p8oZt kO7Q== X-Gm-Message-State: AJIora+RT5k7K+0eVCzc5gSgp3D41nwwO7vj020KvmOojhNLgxZoB7k/ j+Ay5rlWcfIrvmExQD6/fVT2t+XfpHU= X-Google-Smtp-Source: AGRyM1tuWtYUDfltfK6c07A3rWlYP4egzGqryed+JXEazYhz60h97Qqg2v0QJvphmmHGd5k87VQkUQ== X-Received: by 2002:a05:600c:1548:b0:3a1:95fc:aa42 with SMTP id f8-20020a05600c154800b003a195fcaa42mr10565045wmg.189.1657284962944; Fri, 08 Jul 2022 05:56:02 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id a10-20020a5d4d4a000000b0021d8a92d276sm3458971wru.67.2022.07.08.05.56.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jul 2022 05:56:02 -0700 (PDT) From: zimoun To: bokr@bokr.com Cc: jgart , Tobias Geerinckx-Rice , guix-devel@gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: repl macro (metacommand?) for guix CLI (sub)commands In-Reply-To: <20220706121338.GA16119@LionPure> References: <20220703131112.GB5967@gac> <87mtdpau7y.fsf@gnu.org> <20220704132159.GC3017@gac> <86tu7wxzpw.fsf@gmail.com> <20220705172743.GB3448@gac> <87o7y2zqnj.fsf@gmail.com> <20220706121338.GA16119@LionPure> Date: Wed, 06 Jul 2022 14:58:29 +0200 Message-ID: <875ykaz9ca.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_24_48=1.34, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657285012; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kATyPzK88eWrr0L7nPLvwT2FBYzt+Jd6STuS05g+oXU=; b=sOV2OpGfiGNMy8FGnDr/ccoWBA/FPc5uqediI1aERe54XxtKaTlX5Zd+ZyRwjCZMzXy5Dh t15FrAFTjSnQZRYgqiJB6luKs3VZbOPpEIZEwI9xrdP8PydJFs2vI3zq+Y3CnIavEvfJAZ E4Q5f9ln33VwaMrcL6Rj6c1QYJUYPO+rrRtKt5gc4bKjo57MejwrTFl+yUN8LOUcabl8QW znQ68DhJdrEJVjT9cfVKCkzVQzX2HIKsJ1AR4c8klCh9+pq9SxcPLSiqAVw7Xh4tNeQOll 4yx4UlAfqtiRZGtmOVtmK9hQ3G514Wg6KcbdyEbVMbn0Unj+XsbfurGxmtxDAA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657285012; a=rsa-sha256; cv=none; b=QJl9rqVfL3G5MYC9wuced4uT0XAs7DuIC9S60l5gqCsaZ3tdQpVI3ZMXdgZtUmAFnhUXX3 b1oiqhbYq0l0tGmT5ra2fmHsZQqSy9JrFfHbtcM10xTtOvARMnXXqCyeRYtn4bd9J/pB+V 8a1Dm+B/BHZn9rSKlmgObzqnfUWTw7PWOAS6BSH+l36N4H0XqEd9hW4rPfM2iCvxzx4/p9 TmgDCbVnmTZp3yima08W9eU2xZSIovhU3z7Axh4fqmqfxpf0HjxMsUCisyms3tC78+acD6 erCrOaGH9JTRFCt9VUN4eQ47vcqnPj5qClYq/NuYTh/1V4hShojMtKiJgwPRdg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=G3vjxXaL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=G3vjxXaL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3D8952DA26 X-Spam-Score: -2.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: aIx4nZQemdD0 Hi, On mer., 06 juil. 2022 at 14:13, bokr@bokr.com wrote: > [13:23 ~/bs]$ guile --no-auto-compile -c '(display (getenv "PS1"))(newline)' > [\A \w]\$ On my machine, all is as usual and I run Bash: --8<---------------cut here---------------start------------->8--- $ echo $PS1 \n\w/\n\u@\h$ $ guile --no-auto-compile -c '(display (getenv "PS1"))(newline)' #f --8<---------------cut here---------------end--------------->8--- Maybe I miss something. Thanks for giving a try. Cheers, simon