Re: Translation of init scripts
On Wed, 14 Jul 1999 12:36:48 -0300, Lalo Martins <lalo@webcom.com> said:
>
> Aliases were my first thought; I don't remember why I gave up on
> them :-) I guess it's a compatibility problem... perhaps
> aliases/functions don't work the same in all *sh variants
The Bourne shell doesn't provide aliases.
> Functions are even worse. Plain sh for sure doesn't support them, and
> then bash and zsh have different sintaxes.
That's the opposite of true. You can rely on any Bourne-type shell to
provide functions declared like
foo() {
body
}
--
Roderick Schertler
roderick@argon.org
Reply to: