From d344d290c4f9bae23467db3aa40df17521c725e3 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 3 Mar 2022 01:17:04 -0800 Subject: Update scsh file headers for shell scripts Other file headers come with caveats: - ‘#!/usr/bin/scsh -s’ :: Now that scsh is installed through Guix, this is not where this file lives. - ‘#!/usr/bin/env -S scsh -s’ :: This doesn't work when we need to specify move arguments on the command line and need to use the meta-argument. ‘env -S scsh \’ doesn't work. --- count-emails | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/count-emails b/count-emails index 98a2573..787d69d 100755 --- a/count-emails +++ b/count-emails @@ -1,5 +1,7 @@ -#!/usr/bin/env -S scsh -s -;; -*- mode: scheme; -*- +#!/usr/bin/env sh +# -*- mode: scheme; -*- +IFS=" " +exec scsh -s "$0" "$@" !# (define mail-root (string-append (getenv "HOME") "/documents/mail")) -- cgit v1.3-2-g0d8e