From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yJdzLJpSPGPAoAAAbAwnHQ (envelope-from ) for ; Tue, 04 Oct 2022 17:34:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yDaeK5pSPGNtIAAAG6o9tA (envelope-from ) for ; Tue, 04 Oct 2022 17:34:50 +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 7837E32B45 for ; Tue, 4 Oct 2022 17:34:50 +0200 (CEST) Received: from localhost ([::1]:44490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofjwW-0001Q0-Tx for larch@yhetil.org; Tue, 04 Oct 2022 11:34:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofixU-0003dX-1W for help-guix@gnu.org; Tue, 04 Oct 2022 10:31:44 -0400 Received: from vimdzmsp-sfwd04.bluewin.ch ([195.186.227.132]:52194) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofixK-00057M-EU for help-guix@gnu.org; Tue, 04 Oct 2022 10:31:43 -0400 Received: from bluewin.ch ([213.55.244.21]) by vimdzmsp-sfwd04.bluewin.ch Swisscom AG with ESMTPA id fixAoDAvLalglfixBogpeP; Tue, 04 Oct 2022 16:31:27 +0200 X-Bluewin-Spam-Analysis: v=2.4 cv=J8zJUCrS c=1 sm=1 tr=0 ts=633c43bf a=okETWHrkPlANAx00SlWV7w==:117 a=IkcTkHD0fZMA:10 a=hqDfZ-oGB0SlvivA7FgA:9 a=QEXdDO2ut3YA:10 X-Bluewin-Spam-Score: 0.00 X-FXIT-IP: IPv4[213.55.244.21] Epoch[1664893887] X-Bluewin-AuthAs: fulbert@bluewin.ch Date: Tue, 4 Oct 2022 16:31:24 +0200 From: Fulbert To: help-guix@gnu.org Subject: Re: bash scripts in Guix question Message-ID: Mail-Followup-To: help-guix@gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-CMAE-Envelope: MS4xfNylE3wtMDsbILn5Th1k6NA3mMAjb92HCR19255O/GF6fX2sMCRNKlmsEWEJ9VngBGugL9eM932PtMLXhFkDy10j7IIbTXhqmwnqNYra2+kxoFy2S2T1 rGFDka5Dc6WydTntU67OLh382/ux06An5FIJSOV36534bsmYI9RgzVh19Gt3SKU1ZO4/6a/i3tBs2Q== Received-SPF: pass client-ip=195.186.227.132; envelope-from=fulbert@bluewin.ch; helo=vimdzmsp-sfwd04.bluewin.ch X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664897690; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=j2KbFcu00boR4Wx0OSCImu6gg7pDiEOla9mnp6RMbUo=; b=gR4m4RxbsPlrfzfW75af8IjXNJkNTzjv/aOBsVfEejfZd3LnkKFiwkbFyWYEVHyUO9pVNM rk0UFLd+rQZzlVYWWT+zPBetGeuPENhYVZxyeappXDZ61PrFyZlvdDew0wfjcIWlW7WJGQ vJBAQkW/m2SlXl0KAtBpbTka2H0ya6uiIW8bLXi4+hbiVCbraxK7X72Bdj4KFxE2+iH1e3 yHdfNUYYTm7ePHiyFhNsdy329BqqlZ2p0FGmp+iUqDrfvjUQwP1uRvXWK0y5mWprHugee+ f2xXZW2sM4+dxhSL/RreYXPkzkibLmpgkzTJzbBvg/6AeWR+lydlHefWl3Kf+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664897690; a=rsa-sha256; cv=none; b=nqqwZg6WEqN2vLyklfNwMbxvK8/m616tdg3bwI7KreU+F+YyOLOobijJwKc9vNHFKZ3EHI luKfHpVUY96KZtpaze6HJUUlkhcQ1o9nm3L1okaEa0T0ltCX6rLitDBOeXVaKIirL0GShh bZO+mj2mAtwnBHy+gLZWngdu+dbTcggQJY2zl7/KU0e0UtFcP7Aotu+xwDXimk+0Q5HwA/ HudEEsrXIA+9Srp0PFEoj6BBScKVpJGnBGlYUykhbzJCAdNARQsFYkjZTIU0d4ofFNUltP 3L2fwm9z9K0HdMVXCTQmFHL0k3Po56+yS4a/E5Nu6sI1OAQu1P9wZN+R3wOLfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.16 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7837E32B45 X-Spam-Score: -2.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: v+Da7gzWsr9l Le Tue, Oct 04, 2022 at 03:18:36PM +0200, jordi a écrit : > Hi guixers, Hello! > > i'm wondering...for my scripts to work in Guix, instead of > '#! /bin/bash' , > > what do i have to start them with ? #!/usr/bin/env bash And if you need to pass arguments/options, take a look at $ info '(coreutils) env invocation' > Thanks,thanks, thanks Welcome!