From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arun Isaac Newsgroups: gmane.lisp.guile.user Subject: Re: Shelling Date: Fri, 19 Apr 2024 11:30:00 +0100 Message-ID: <87jzktk5lj.fsf@systemreboot.net> References: <1238226916.702419.1713458694879.ref@mail.yahoo.com> <1238226916.702419.1713458694879@mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40189"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile User To: Tom Whitcomb Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Apr 19 12:31:09 2024 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rxlWO-000ACy-AR for guile-user@m.gmane-mx.org; Fri, 19 Apr 2024 12:31:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxlVw-0007pH-Jm; Fri, 19 Apr 2024 06:30:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rxlVk-0007oQ-Df for guile-user@gnu.org; Fri, 19 Apr 2024 06:30:30 -0400 Original-Received: from mugam.systemreboot.net ([139.59.75.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rxlVf-0000el-R0 for guile-user@gnu.org; Fri, 19 Apr 2024 06:30:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+EgBH/zLPxUUrlykw4hn9HIZkLSEG24CoWh5VC6pfyI=; b=kJqss7z4wk+ztti5vzNLrUzMLa vAb5LAFSavtAFAqGKI4OC7c6TVEpmaY83llTrz2XkoqOEUkfuET7w8dpDUQEstuEWJEJny0aH43gm KrsH/UNihb6pysGFEeSVGVVQQ3uYjzol+HnyZIlIh7BOeIO4w6KAi09iQdCzrovjvTIxkTsR+nl/s I+VLJBC2UKFxfl3WLGQT2DPEodms8E9PdO03pgSnV+2WMGioigQGLtQ6zcRepdZ/+W5mrXre1S1xc 4Tf0cxNwfK4fXMtex6MY0ah26uEMuPfqTCAtbd18uqSQUB6TghKef6CwtDp9ybH1uiwwe2nz35VOA 6u3if2Jw==; Original-Received: from [192.168.2.1] (port=39634 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1rxlSt-0005IM-0D; Fri, 19 Apr 2024 11:27:31 +0100 In-Reply-To: <1238226916.702419.1713458694879@mail.yahoo.com> Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19540 Archived-At: Hi Tom, I do write my shell scripts in Guile. For added nicety, I usually deploy these scripts using Guix's G-expressions. This lets you easily manage the dependencies of that script, and deploy to remote machines effortlessly. See https://systemreboot.net/post/deploy-scripts-using-g-expressions for more details if you're interested. Here's a more complex example of a guile script: https://issues.genenetwork.org/topics/deploy/uthsc-vpn-with-free-software This script connects to a university VPN. The script couldn't have come together so nicely without Guile or Guix. The complete script itself is at https://issues.genenetwork.org/topics/deploy/uthsc-vpn.scm Cheers! Arun