From 05dd6877526fc388c6ecbd03e3483636ab2c4e86 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 5 Dec 2013 01:17:57 -0500 Subject: use /bin/bash, not /bin/sh --- chardiff.sh | 2 +- e.sh | 2 +- emacsmail.sh | 2 +- hangman-helper.sh | 2 +- maildups.sh | 2 +- offlineimap-runner.sh | 2 +- v-www-browser.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/chardiff.sh b/chardiff.sh index 17234ae..7d885b9 100644 --- a/chardiff.sh +++ b/chardiff.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash file1=${1?usage: chardiff FILE1 FILE2 [FLAGS]} file2=${2?usage: chardiff FILE1 FILE2 [FLAGS]} diff --git a/e.sh b/e.sh index ba97edc..62e18d3 100644 --- a/e.sh +++ b/e.sh @@ -1,2 +1,2 @@ -#!/bin/sh +#!/bin/bash emacsclient -a "" -e "$@" 2>/dev/null diff --git a/emacsmail.sh b/emacsmail.sh index a815997..b05446a 100644 --- a/emacsmail.sh +++ b/emacsmail.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # emacs-mailto-handler mailto=$1 diff --git a/hangman-helper.sh b/hangman-helper.sh index 5e0e138..3d14a7e 100644 --- a/hangman-helper.sh +++ b/hangman-helper.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash word=$1 not=$2 flag=$3 diff --git a/maildups.sh b/maildups.sh index 7f39a58..9de7625 100644 --- a/maildups.sh +++ b/maildups.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Delete duplicate messages in $1 based on the Message-ID header maildir=$1 diff --git a/offlineimap-runner.sh b/offlineimap-runner.sh index e4a6f6c..ae8bf10 100644 --- a/offlineimap-runner.sh +++ b/offlineimap-runner.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # offlineimap is pretty nifty, and generally does the right thing, and is # remarkably fault-tolerant, even of it's own code. diff --git a/v-www-browser.sh b/v-www-browser.sh index ede59ac..e5ea481 100644 --- a/v-www-browser.sh +++ b/v-www-browser.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash if [ -n "$DISPLAY" ]; then x-www-browser "$@" -- cgit v1.2.3