On 9/6/06, Gregory Machin <gregory.machin@xxxxxxxxx> wrote:
Hi I have a script writen for ash and want to convert it to bash ... any hints on doing thins ? Many Thanks -- Gregory Machin gregory.machin@xxxxxxxxx www.linuxpro.co.za -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Hi Gregory Machin! I am no expert. That said I note with interest that ash is Bourn compliant, very efficient (as in part of BusyBox for example) and as such should be a functionally a sub set of the bash shell. See links: http://en.wikipedia.org/wiki/Almquist_shell http://www.linuxfromscratch.org/blfs/view/6.1/postlfs/shells.html You probably could: 1. Simply change the first line to reference Bash. 2. Download ash (second link) and make it environmentally available. 3. Download BusyBox (it is in your initrd) and make an alias for ash linking to it. Oh, silly ideas in the morning. Good Hunting! Tod