Paquet : shfmt (3.4.3-1)
Liens pour shfmt
Ressources Trisquel :
Télécharger le paquet source shfmt :
Responsable :
Original Maintainer:
- Marcos Talau
Ressources externes :
- Page d'accueil [github.com]
Paquets similaires :
shell formatter, parser, and interpreter
shfmt is a shell formatter, parser, and interpreter. It supports POSIX Shell, Bash, and mksh.
shfmt's default shell formatting was chosen to be consistent, common, and predictable. Some aspects of the format can be configured.
shfmt can also replace bash -n to check shell scripts for syntax errors and bashisms. It is more sophisticated and the output is friendly.
For Continuous Integration (CI) tests, one can use a variant where formatting changes are just shown as diffs.
Main features:
- List files whose formatting differs from shfmt's.
- Print syntax tree to stdout as a typed JSON. This
can be useful to analyze shell scripts.
- Minify the code to reduce its size.
- Error with a diff when the formatting differs.
- Recursively find all shell files and print the paths.
Autres paquets associés à shfmt
|
|
|
Télécharger shfmt
| Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
|---|---|---|---|
| amd64 | 950,3 ko | 2619 ko | [liste des fichiers] |
| arm64 | 857,4 ko | 2691 ko | [liste des fichiers] |
| armhf | 881,5 ko | 2476 ko | [liste des fichiers] |
| ppc64el | 840,2 ko | 2691 ko | [liste des fichiers] |