[TOOL] ShellCheck - Busca automáticamente problemas en scripts bash o sh

Iniciado por rand0m, Mayo 21, 2015, 05:48:59 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Mayo 21, 2015, 05:48:59 PM Ultima modificación: Mayo 21, 2015, 06:29:42 PM por random1894
Hoy en el feed RSS de You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login vi esta herramienta online que nos ayuda a buscar fallos o problemas en scripts en bash.
Es una manera de tener un aviso que nos marque dónde estamos metiendo la pata sin tener que repasar todo el código de principio a fin, que al final acaba siendo una tarea que puede traer dolor de cabeza.
Está escrito en Haskell, funciona directamente en nuestro navegador entrando en su página: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.

Además es Open Source. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login. (Thanks to You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login).

Cita de: Lydecker Black
ShellCheck is a static analysis and linting tool for sh/bash scripts. It's mainly focused on handling typical beginner and intermediate level syntax errors and pitfalls where the shell just gives a cryptic error message or strange behavior, but it also reports on a few more advanced issues where corner cases can cause delayed failures.

Haskell source code is available on GitHub!
Fuente: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Podría vivir perfectamente con una mancha de pis en la alfombra, pero qué va, tío: Más complicaciones.