Pregunta

Me gustaría evitar la instalación de bash en cada nuevo Debian 6 instalar. Así que necesito para convertir todos mis scripts bash al tablero.
- ¿Cómo hacer que
- ¿Cuáles son las diferencias entre los 2 idiomas
? - ¿Es usted consciente de cualquier advertencia y trampa
- ¿Es posible automatizar esta tarea?

¿Fue útil?

Solución

Here is a page that shows some Bashisms. You can use it as a guide for porting from Bash to Dash.

I don't know why you say you need to install Bash. It's listed as an essential package.

Otros consejos

The best strategy is to stick to the standard instead of any particular implementation. Dash is much closer to it than Bash.

You might try Loker to get some assistance. If you are interested in it or have any problems, feel free to bother me by email.

There are some other tools as well.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top