[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash gives error string splice

From: Chris Down
Subject: Re: Bash gives error string splice
Date: Thu, 8 Aug 2013 23:48:00 +0200

On 8 Aug 2013 23:18, "Williams, Zak" <address@hidden> wrote:
> Repeat-By:
>                Replicating the code I have below. You will then want to
call this script via the bottom of the .bashrc file ( sh [path to script
here] ).

This is not a bash bug, nor is it a bug at all, because sh is not bash. On
your system it probably links to a POSIX shell, and POSIX does not require
supporting that kind of substitution. Stop calling the script with sh
explicitly, and set up the interpreter line and executable bit properly
instead if you are going to use non-portable syntax.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]