Skip to content
Sections
>> Trisquel >> Пакети >> aramo >> utils >> shfmt
aramo  ]
[ Източник: shfmt  ]

Пакет: shfmt (3.4.3-1)

Връзки за shfmt

shfmt

Ресурси за Trisquel:

Изтегляне на пакет-източник shfmt.

Отговорник:

Original Maintainer:

  • Marcos Talau

Външни препратки:

Подобни пакети:

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.

Други пакети, свързани с shfmt

  • зависимости
  • препоръчани
  • предложени
  • enh: bash
    GNU Bourne Again SHell
  • enh: dash
    POSIX-compliant shell
  • enh: mksh
    MirBSD Korn Shell

Изтегляне на shfmt

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
amd64 950,3 кБ2619 кБ [списък на файловете]
arm64 857,4 кБ2691 кБ [списък на файловете]
armhf 881,5 кБ2476 кБ [списък на файловете]
ppc64el 840,2 кБ2691 кБ [списък на файловете]