diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-12-10 23:21:12 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-12-10 23:21:52 -0700 |
commit | 39f9bc664b8e597203c5048b55b6da3d25f5cbdd (patch) | |
tree | 47dd5edac12c319b2cde636e3f9f87d058ddc910 /archive | |
parent | b13fbe8a86db83c1c62866313f45c5fb4df044e3 (diff) | |
download | dotfiles-39f9bc664b8e597203c5048b55b6da3d25f5cbdd.tar.gz |
use shebangs more consistently
Diffstat (limited to 'archive')
51 files changed, 51 insertions, 51 deletions
diff --git a/archive/.irssi/scripts/autorun/anotherway.pl b/archive/.irssi/scripts/autorun/anotherway.pl index ba360f25..00c57273 100755 --- a/archive/.irssi/scripts/autorun/anotherway.pl +++ b/archive/.irssi/scripts/autorun/anotherway.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # by Stefan Tomanek <stefan@pico.ruhr.de> diff --git a/archive/.irssi/scripts/autorun/format_identify.pl b/archive/.irssi/scripts/autorun/format_identify.pl index 0b19c445..8b7ffa13 100644 --- a/archive/.irssi/scripts/autorun/format_identify.pl +++ b/archive/.irssi/scripts/autorun/format_identify.pl @@ -1,5 +1,5 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # ^ to make vim know this is a perl script so I get syntax hilighting. ##################################################################### diff --git a/archive/bin/backuptom3 b/archive/bin/backuptom3 index 80a0ecc2..027fbb12 100755 --- a/archive/bin/backuptom3 +++ b/archive/bin/backuptom3 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # backs up git repositories to m3 portable drive, excluding git annex diff --git a/archive/bin/bashmount b/archive/bin/bashmount index d12840aa..27f4cfe5 100755 --- a/archive/bin/bashmount +++ b/archive/bin/bashmount @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash #=============================================================================# # FILE: bashmount # diff --git a/archive/bin/bedtime b/archive/bin/bedtime index d0fda52f..1f9291af 100755 --- a/archive/bin/bedtime +++ b/archive/bin/bedtime @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash . $HOME/.shenv diff --git a/archive/bin/bitlbee_startup b/archive/bin/bitlbee_startup index aaabbf7e..f35a50c2 100755 --- a/archive/bin/bitlbee_startup +++ b/archive/bin/bitlbee_startup @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash . $HOME/.shenv diff --git a/archive/bin/build_rpi_sd_card.sh b/archive/bin/build_rpi_sd_card.sh index a8a90bbc..757b6c39 100755 --- a/archive/bin/build_rpi_sd_card.sh +++ b/archive/bin/build_rpi_sd_card.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # build your own Raspberry Pi SD card # diff --git a/archive/bin/capture-mail b/archive/bin/capture-mail index 6347d172..138ff50a 100755 --- a/archive/bin/capture-mail +++ b/archive/bin/capture-mail @@ -1,4 +1,4 @@ -#!/bin/zsh +#!/usr/bin/env zsh msg=$(cat /dev/stdin) diff --git a/archive/bin/coldbkup b/archive/bin/coldbkup index 03187950..313092a0 100755 --- a/archive/bin/coldbkup +++ b/archive/bin/coldbkup @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # backup to removable, offline media diff --git a/archive/bin/debian-ftp-master b/archive/bin/debian-ftp-master index e410c021..ff57a68c 100755 --- a/archive/bin/debian-ftp-master +++ b/archive/bin/debian-ftp-master @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # debian-ftp-master -- set up some windows for doing work on Debian's ftp-master diff --git a/archive/bin/develacc-inner b/archive/bin/develacc-inner index cb094e4b..608b0fcd 100755 --- a/archive/bin/develacc-inner +++ b/archive/bin/develacc-inner @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Config diff --git a/archive/bin/develacc-push b/archive/bin/develacc-push index 23bcb319..12535fb1 100755 --- a/archive/bin/develacc-push +++ b/archive/bin/develacc-push @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/archive/bin/develacc-push-all b/archive/bin/develacc-push-all index 1fb132de..40ed5f66 100755 --- a/archive/bin/develacc-push-all +++ b/archive/bin/develacc-push-all @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/archive/bin/dionysusbk b/archive/bin/dionysusbk index 9c6ad0d6..410ea91a 100755 --- a/archive/bin/dionysusbk +++ b/archive/bin/dionysusbk @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash DIONYSUS="/media/usb0" DEST="$HOME/lib/annex/old/androidbk" diff --git a/archive/bin/ed b/archive/bin/ed index 8fab919f..4cee65c9 100755 --- a/archive/bin/ed +++ b/archive/bin/ed @@ -1,4 +1,4 @@ -#!/bin/zsh +#!/usr/bin/env zsh # string=`echo "emacsclient -nw --eval '(dired \\\\\\"$PWD\\\\\\")'"` diff --git a/archive/bin/emacs-pkg-subtree b/archive/bin/emacs-pkg-subtree index 0465b6e5..894d0f23 100755 --- a/archive/bin/emacs-pkg-subtree +++ b/archive/bin/emacs-pkg-subtree @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # emacs-pkg-subtree --- manage Emacs packages as git subtrees in your dotfiles git repo diff --git a/archive/bin/find-unused b/archive/bin/find-unused index 67ccb5d1..ebe81a36 100755 --- a/archive/bin/find-unused +++ b/archive/bin/find-unused @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash while read l; do n=$(echo $l | awk '{print $1}') diff --git a/archive/bin/fmr-sync-suspend b/archive/bin/fmr-sync-suspend index ab8d67d7..9c96a95c 100755 --- a/archive/bin/fmr-sync-suspend +++ b/archive/bin/fmr-sync-suspend @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # ^ different shells have different options for read() . $HOME/.shenv diff --git a/archive/bin/greypdf b/archive/bin/greypdf index 4735e0f5..36570343 100755 --- a/archive/bin/greypdf +++ b/archive/bin/greypdf @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # convert pdf to grayscale, preserving metadata # "AFAIK graphicx has no feature for manipulating colorspaces. " http://groups.google.com/group/latexusersgroup/browse_thread/thread/5ebbc3ff9978af05 # "> Is there an easy (or just standard) way with pdflatex to do a > conversion from color to grayscale when a PDF file is generated? No." ... "If you want to convert a multipage document then you better have pdftops from the xpdf suite installed because Ghostscript's pdf to ps doesn't produce nice Postscript." http://osdir.com/ml/tex.pdftex/2008-05/msg00006.html diff --git a/archive/bin/i3-rotate-wallpaper b/archive/bin/i3-rotate-wallpaper index 43f84462..94e9358e 100755 --- a/archive/bin/i3-rotate-wallpaper +++ b/archive/bin/i3-rotate-wallpaper @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use 5.028; use strict; diff --git a/archive/bin/i3-startup-i3lock-inner b/archive/bin/i3-startup-i3lock-inner index 02c59c90..47db5ff1 100755 --- a/archive/bin/i3-startup-i3lock-inner +++ b/archive/bin/i3-startup-i3lock-inner @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # From /usr/share/doc/xss-lock/transfer-sleep-lock-i3lock.sh on Debian stretch diff --git a/archive/bin/i3-startup-xtrlock-inner-lock b/archive/bin/i3-startup-xtrlock-inner-lock index 3721d4c0..4bfce22f 100755 --- a/archive/bin/i3-startup-xtrlock-inner-lock +++ b/archive/bin/i3-startup-xtrlock-inner-lock @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Based on /usr/share/doc/xss-lock/transfer-sleep-lock-i3lock.sh on # Debian stretch diff --git a/archive/bin/ii b/archive/bin/ii index d3176ad8..644aed11 100755 --- a/archive/bin/ii +++ b/archive/bin/ii @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$(hostname -f)" = "athena.silentflame.com" ]; then # start irssi under tmux if it's not running diff --git a/archive/bin/imap-password b/archive/bin/imap-password index 38d8b521..6cba41c6 100755 --- a/archive/bin/imap-password +++ b/archive/bin/imap-password @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # http://www.kirya.net/articles/my-mail-client-setup/ # http://www.clasohm.com/blog/one-entry?entry_id=90957 diff --git a/archive/bin/ma_org_publish b/archive/bin/ma_org_publish index 2faab6f9..fe733344 100755 --- a/archive/bin/ma_org_publish +++ b/archive/bin/ma_org_publish @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash . $HOME/.shenv diff --git a/archive/bin/offlineimap.py b/archive/bin/offlineimap.py index 10282dd1..aa9c0fc0 100755 --- a/archive/bin/offlineimap.py +++ b/archive/bin/offlineimap.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # http://www.kirya.net/articles/my-mail-client-setup/ # http://www.clasohm.com/blog/one-entry?entry_id=90957 diff --git a/archive/bin/orgblosxom2ikiwiki.py b/archive/bin/orgblosxom2ikiwiki.py index 6d177e1d..9ff32929 100755 --- a/archive/bin/orgblosxom2ikiwiki.py +++ b/archive/bin/orgblosxom2ikiwiki.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # coding=utf-8 import os diff --git a/archive/bin/podcastsup b/archive/bin/podcastsup index 27a3037a..e176332e 100755 --- a/archive/bin/podcastsup +++ b/archive/bin/podcastsup @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash cd ~/lib/annex/big/audio/Podcasts diff --git a/archive/bin/privoxy-blocklist.sh b/archive/bin/privoxy-blocklist.sh index 0f91d6bf..3bdc672a 100755 --- a/archive/bin/privoxy-blocklist.sh +++ b/archive/bin/privoxy-blocklist.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # ###################################################################### # diff --git a/archive/bin/propellor_lines b/archive/bin/propellor_lines index 8bdd28e1..37cd35b6 100755 --- a/archive/bin/propellor_lines +++ b/archive/bin/propellor_lines @@ -1,4 +1,4 @@ -#!/usr/bin/runhaskell +#!/usr/bin/env runhaskell main = interact $ unlines . propellorLines . lines diff --git a/archive/bin/rdate.py b/archive/bin/rdate.py index 8f6ca902..9850dda5 100755 --- a/archive/bin/rdate.py +++ b/archive/bin/rdate.py @@ -1,4 +1,4 @@ -#!/usr/pkg/bin/python2.7 +#!/usr/bin/env python """ Remembers or restores the original posting date of entry. diff --git a/archive/bin/rdate.py-dir b/archive/bin/rdate.py-dir index 6862c3f3..6348b678 100755 --- a/archive/bin/rdate.py-dir +++ b/archive/bin/rdate.py-dir @@ -1,4 +1,4 @@ -#!/usr/pkg/bin/bash +#!/usr/bin/env bash shopt -s nullglob diff --git a/archive/bin/rt b/archive/bin/rt index 66c8a864..bf6a8cd1 100755 --- a/archive/bin/rt +++ b/archive/bin/rt @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash . $HOME/.shenv # first check that there exist the dirs we need diff --git a/archive/bin/sblog b/archive/bin/sblog index cded87db..0f0d0f7b 100755 --- a/archive/bin/sblog +++ b/archive/bin/sblog @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # try to view latest debuild/sbuild log diff --git a/archive/bin/searchmail b/archive/bin/searchmail index 33d8bc4f..f0428748 100755 --- a/archive/bin/searchmail +++ b/archive/bin/searchmail @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # searchmail --- Wrapper around mairix to open results in mutt # diff --git a/archive/bin/send-irssi-away-log b/archive/bin/send-irssi-away-log index b7df1dcc..1e364e15 100755 --- a/archive/bin/send-irssi-away-log +++ b/archive/bin/send-irssi-away-log @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use 5.028; use strict; diff --git a/archive/bin/sscan b/archive/bin/sscan index 33098d1d..36c2c9a6 100755 --- a/archive/bin/sscan +++ b/archive/bin/sscan @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import time import tempfile diff --git a/archive/bin/sysmaint b/archive/bin/sysmaint index 5cd85827..dfc6ae88 100755 --- a/archive/bin/sysmaint +++ b/archive/bin/sysmaint @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # This is meant to walk me through maintenance tasks that # can't/shouldn't happen unattended by means of Propellor and/or cron diff --git a/archive/bin/test-import b/archive/bin/test-import index 85176abb..a38e232c 100755 --- a/archive/bin/test-import +++ b/archive/bin/test-import @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use lib "$ENV{HOME}/src/dotfiles/perl5"; diff --git a/archive/bin/urxvttmux b/archive/bin/urxvttmux index 720381ba..a8ec3b26 100755 --- a/archive/bin/urxvttmux +++ b/archive/bin/urxvttmux @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash export MOSH_TITLE_NOPREFIX=true diff --git a/archive/bin/usbskelhere b/archive/bin/usbskelhere index d242e482..f0177b78 100755 --- a/archive/bin/usbskelhere +++ b/archive/bin/usbskelhere @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash . $HOME/.shenv . $HOME/src/dotfiles/lib-src/tputfs.sh diff --git a/archive/bin/workstation-uninstallable b/archive/bin/workstation-uninstallable index acb538c1..12780df6 100755 --- a/archive/bin/workstation-uninstallable +++ b/archive/bin/workstation-uninstallable @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Run this script to find packages that I might want to uninstall, or # at least mark as automatically installed. We find all manually diff --git a/archive/bin/workstation-uninstallable-alt b/archive/bin/workstation-uninstallable-alt index 4f5e302c..98dafa23 100755 --- a/archive/bin/workstation-uninstallable-alt +++ b/archive/bin/workstation-uninstallable-alt @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # orig: http://askubuntu.com/a/630674 diff --git a/archive/bin/xmouse-away-from-edge b/archive/bin/xmouse-away-from-edge index 8ddf8aaa..df149448 100755 --- a/archive/bin/xmouse-away-from-edge +++ b/archive/bin/xmouse-away-from-edge @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Copyright (C) 2019 Sean Whitton # diff --git a/archive/bin/xmousetidy b/archive/bin/xmousetidy index 004c0998..211d649c 100755 --- a/archive/bin/xmousetidy +++ b/archive/bin/xmousetidy @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash xdotool mousemove \ $(xdpyinfo | \ diff --git a/archive/bin/yankfmailpw b/archive/bin/yankfmailpw index 85c75d8d..5d1699b4 100755 --- a/archive/bin/yankfmailpw +++ b/archive/bin/yankfmailpw @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source /root/.shenv diff --git a/archive/hooks/git/propellor/post-checkout_01dirlocals b/archive/hooks/git/propellor/post-checkout_01dirlocals index 472868cf..aac23d9e 100755 --- a/archive/hooks/git/propellor/post-checkout_01dirlocals +++ b/archive/hooks/git/propellor/post-checkout_01dirlocals @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/archive/lib-src/tputfs.sh b/archive/lib-src/tputfs.sh index ab3c3c3a..2539386a 100755 --- a/archive/lib-src/tputfs.sh +++ b/archive/lib-src/tputfs.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # shell scripting functions using tput diff --git a/archive/perl5/Stow.pm b/archive/perl5/Stow.pm index bda7d3ab..1e486baf 100644 --- a/archive/perl5/Stow.pm +++ b/archive/perl5/Stow.pm @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl package Stow; diff --git a/archive/perl5/TestExec.pm b/archive/perl5/TestExec.pm index cf7bcd86..886a286f 100755 --- a/archive/perl5/TestExec.pm +++ b/archive/perl5/TestExec.pm @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl package TestExec; diff --git a/archive/scripts/desktop/wofi_ssh_lxc b/archive/scripts/desktop/wofi_ssh_lxc index 41a296a8..75f4526e 100755 --- a/archive/scripts/desktop/wofi_ssh_lxc +++ b/archive/scripts/desktop/wofi_ssh_lxc @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # for connecting to athenet LXCs which don't have ssh daemons |