[aklug] Re: (ana)cron & Linux Counter update script

From: Joshua J. Kugler <joshua@eeinternet.com>
Date: Sun Oct 31 2010 - 20:45:42 AKDT

On Sunday 31 October 2010, David J. Weller-Fahy elucidated thus:
> I would run `which sh`, which on my system results in /bin/sh, then
> include '#!/bin/sh' as the first line of the file.

If you want it to be bash, use

#!/bin/bash

Some systems link /bin/sh to dash, or some other shell which is really
stripped down, and does not match bash behavior in many areas.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com - Fairbanks, AK
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sun Oct 31 20:45:57 2010

This archive was generated by hypermail 2.1.8 : Sun Oct 31 2010 - 20:45:57 AKDT