On 11-02-10 04:01 PM, Jimmy wrote:
unless I missed something...
#!/bin/bash
make sure you have bash installed
and that bin/bash is not a symlink to something else...
On Thu, Feb 10, 2011 at 2:10 PM, Jeremy<[email protected]> wrote:
With the recent upgrade to squeeze a bunch of my bash scripts are screwed.
This is my fault for not coding agnostically I am sure, but does anyone have
a translation table for bash to dash?
Just for instance how can I count the number of characters in a word?
I was using NAMENUM=${#UNAME} but this appears to have broken.
TIA
Jeremy
I was using /bin/sh which I thought was "the right way", but yeah I am
going to start specifying /bin/bash :)
Jeremy
_______________________________________________
mlug mailing list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca