On Mon, Nov 26, 2007 at 02:13:42PM +0000, Stephen Gran wrote: > This one time, at band camp, Jörg Sommer said: > > > > Init scripts should not use Bash, they should be Posix Shell scripts! > > Not strictly true. A script written for use with #!/bin/sh should use > the POSIX superset allowed by policy. A script aimed at bsah should By "superset" of posix I guess you mean posix + echo -n.
> just declare it's interpreter as #!/bin/bash. Generally, you don't need its > to do that, but you are allowed to. Do you mean because bash is the default sh? It's still required to declare the interpretter: | If a script requires non-POSIX features from the shell interpreter, | the appropriate shell must be specified in the first line of the | script (e.g., `#!/bin/bash') Justin

