| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:cbc8e795-3168-87e1-a451-f9f97ed6cd06 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | BF18:2A3275:666A34:8FDF2F:6B0449E4 |
| html-safe-nonce | 65aaf909f87ff6cd780891459314380605a8b3afff7ffff0acf26039d76fe9c3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjE4OjJBMzI3NTo2NjZBMzQ6OEZERjJGOjZCMDQ0OUU0IiwidmlzaXRvcl9pZCI6IjYwODkxMzMzNjk4ODAwMTAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 181ecd45ecff9c64486f191b0bc678a3fe47adea07674ed4a1c5ffd270d850c5 |
| hovercard-subject-tag | repository:1395141644 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/ivanhapaz/sh |
| twitter:image | https://opengraph.githubassets.com/3fcfb06f2b1d733bd7d17c2b20e5cbcdd6dce496319503abcfc6bc82aa089f41/ivanhapaz/sh |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3fcfb06f2b1d733bd7d17c2b20e5cbcdd6dce496319503abcfc6bc82aa089f41/ivanhapaz/sh |
| og:image:alt | A shell parser, formatter, and interpreter with bash and zsh support; includes shfmt - ivanhapaz/sh |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46 |
| turbo-cache-control | no-cache |
| go-import | github.com/ivanhapaz/sh git https://github.com/ivanhapaz/sh.git |
| octolytics-dimension-user_id | 159570732 |
| octolytics-dimension-user_login | ivanhapaz |
| octolytics-dimension-repository_id | 1395141644 |
| octolytics-dimension-repository_nwo | ivanhapaz/sh |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49766020 |
| octolytics-dimension-repository_parent_nwo | mvdan/sh |
| octolytics-dimension-repository_network_root_id | 49766020 |
| octolytics-dimension-repository_network_root_nwo | mvdan/sh |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/ivanhapaz/sh#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fivanhapaz%2Fsh |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fivanhapaz%2Fsh |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=ivanhapaz%2Fsh |
| Reload | https://github.com/ivanhapaz/sh |
| Reload | https://github.com/ivanhapaz/sh |
| Reload | https://github.com/ivanhapaz/sh |
| ivanhapaz | https://github.com/ivanhapaz |
| sh | https://github.com/ivanhapaz/sh |
| Code | https://github.com/ivanhapaz/sh |
| Pull requests1 (1) | https://github.com/ivanhapaz/sh/pulls |
| Actions | https://github.com/ivanhapaz/sh/actions |
| Projects | https://github.com/ivanhapaz/sh/projects |
| Security and quality | https://github.com/ivanhapaz/sh/security |
| Insights | https://github.com/ivanhapaz/sh/pulse |
| https://github.com/ivanhapaz/sh |
| sh | https://github.com/ivanhapaz/sh |
| mvdan/sh | https://github.com/mvdan/sh |
| Notifications | https://github.com/login?return_to=%2Fivanhapaz%2Fsh |
| Fork0 (0) | https://github.com/login?return_to=%2Fivanhapaz%2Fsh |
| Star0 (0) | https://github.com/login?return_to=%2Fivanhapaz%2Fsh |
| pkg.go.dev/mvdan.cc/sh/v3 | https://pkg.go.dev/mvdan.cc/sh/v3 |
| Readme | https://github.com/ivanhapaz/sh#readme-ov-file |
| License | https://github.com/ivanhapaz/sh#License-1-ov-file |
| Code of conduct | https://github.com/ivanhapaz/sh#coc-ov-file |
| Contributing | https://github.com/ivanhapaz/sh#contributing-ov-file |
| Security policy | https://github.com/ivanhapaz/sh#security-ov-file |
| Activity | https://github.com/ivanhapaz/sh/activity |
| 0 forks | https://github.com/ivanhapaz/sh/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fivanhapaz%2Fsh&report=ivanhapaz+%28user%29 |
| Branches | https://github.com/ivanhapaz/sh/branches |
| Tags | https://github.com/ivanhapaz/sh/tags |
| https://github.com/ivanhapaz/sh/branches |
| https://github.com/ivanhapaz/sh/tags |
| 4,382 Commits | https://github.com/ivanhapaz/sh/commits/master/ |
| https://github.com/ivanhapaz/sh/commits/master/ |
| .github | https://github.com/ivanhapaz/sh/tree/master/.github |
| .github | https://github.com/ivanhapaz/sh/tree/master/.github |
| cmd | https://github.com/ivanhapaz/sh/tree/master/cmd |
| cmd | https://github.com/ivanhapaz/sh/tree/master/cmd |
| doc | https://github.com/ivanhapaz/sh/tree/master/doc |
| doc | https://github.com/ivanhapaz/sh/tree/master/doc |
| expand | https://github.com/ivanhapaz/sh/tree/master/expand |
| expand | https://github.com/ivanhapaz/sh/tree/master/expand |
| fileutil | https://github.com/ivanhapaz/sh/tree/master/fileutil |
| fileutil | https://github.com/ivanhapaz/sh/tree/master/fileutil |
| internal | https://github.com/ivanhapaz/sh/tree/master/internal |
| internal | https://github.com/ivanhapaz/sh/tree/master/internal |
| interp | https://github.com/ivanhapaz/sh/tree/master/interp |
| interp | https://github.com/ivanhapaz/sh/tree/master/interp |
| pattern | https://github.com/ivanhapaz/sh/tree/master/pattern |
| pattern | https://github.com/ivanhapaz/sh/tree/master/pattern |
| shell | https://github.com/ivanhapaz/sh/tree/master/shell |
| shell | https://github.com/ivanhapaz/sh/tree/master/shell |
| syntax | https://github.com/ivanhapaz/sh/tree/master/syntax |
| syntax | https://github.com/ivanhapaz/sh/tree/master/syntax |
| x | https://github.com/ivanhapaz/sh/tree/master/x |
| x | https://github.com/ivanhapaz/sh/tree/master/x |
| .gitattributes | https://github.com/ivanhapaz/sh/blob/master/.gitattributes |
| .gitattributes | https://github.com/ivanhapaz/sh/blob/master/.gitattributes |
| .gitignore | https://github.com/ivanhapaz/sh/blob/master/.gitignore |
| .gitignore | https://github.com/ivanhapaz/sh/blob/master/.gitignore |
| AGENTS.md | https://github.com/ivanhapaz/sh/blob/master/AGENTS.md |
| AGENTS.md | https://github.com/ivanhapaz/sh/blob/master/AGENTS.md |
| CHANGELOG.md | https://github.com/ivanhapaz/sh/blob/master/CHANGELOG.md |
| CHANGELOG.md | https://github.com/ivanhapaz/sh/blob/master/CHANGELOG.md |
| CLAUDE.md | https://github.com/ivanhapaz/sh/blob/master/CLAUDE.md |
| CLAUDE.md | https://github.com/ivanhapaz/sh/blob/master/CLAUDE.md |
| LICENSE | https://github.com/ivanhapaz/sh/blob/master/LICENSE |
| LICENSE | https://github.com/ivanhapaz/sh/blob/master/LICENSE |
| README.md | https://github.com/ivanhapaz/sh/blob/master/README.md |
| README.md | https://github.com/ivanhapaz/sh/blob/master/README.md |
| go.mod | https://github.com/ivanhapaz/sh/blob/master/go.mod |
| go.mod | https://github.com/ivanhapaz/sh/blob/master/go.mod |
| go.sum | https://github.com/ivanhapaz/sh/blob/master/go.sum |
| go.sum | https://github.com/ivanhapaz/sh/blob/master/go.sum |
| README | https://github.com/ivanhapaz/sh |
| Code of conduct | https://github.com/ivanhapaz/sh |
| Contributing | https://github.com/ivanhapaz/sh |
| License | https://github.com/ivanhapaz/sh |
| Security | https://github.com/ivanhapaz/sh |
| https://github.com/ivanhapaz/sh#sh |
| https://pkg.go.dev/mvdan.cc/sh/v3 |
| POSIX Shell | https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html |
| Bash | https://www.gnu.org/software/bash/ |
| Zsh | https://www.zsh.org/ |
| mksh | http://www.mirbsd.org/mksh.htm |
| https://github.com/ivanhapaz/sh#quick-start |
| syntax package | https://pkg.go.dev/mvdan.cc/sh/v3/syntax |
| shell package | https://pkg.go.dev/mvdan.cc/sh/v3/shell |
| interp package | https://pkg.go.dev/mvdan.cc/sh/v3/interp |
| https://github.com/ivanhapaz/sh#shfmt |
| canonical.sh | https://github.com/ivanhapaz/sh/blob/master/syntax/canonical.sh |
| its manpage | https://github.com/ivanhapaz/sh/blob/master/cmd/shfmt/shfmt.1.scd |
| scdoc | https://sr.ht/~sircmpwn/scdoc/ |
| Alpine | https://pkgs.alpinelinux.org/packages?name=shfmt |
| Arch | https://archlinux.org/packages/extra/x86_64/shfmt/ |
| Debian | https://tracker.debian.org/pkg/golang-mvdan-sh |
| Docker | https://hub.docker.com/r/mvdan/shfmt/ |
| Fedora | https://packages.fedoraproject.org/pkgs/golang-mvdan-sh-3/shfmt/ |
| FreeBSD | https://www.freshports.org/devel/shfmt |
| Homebrew | https://formulae.brew.sh/formula/shfmt |
| MacPorts | https://ports.macports.org/port/shfmt/details/ |
| NixOS | https://github.com/NixOS/nixpkgs/blob/HEAD/pkgs/tools/text/shfmt/default.nix |
| OpenSUSE | https://build.opensuse.org/package/show/openSUSE:Factory/shfmt |
| PyPI | https://pypi.org/project/shfmt-py/ |
| Scoop | https://github.com/ScoopInstaller/Main/blob/HEAD/bucket/shfmt.json |
| Snapcraft | https://snapcraft.io/shfmt |
| Void | https://github.com/void-linux/void-packages/blob/HEAD/srcpkgs/shfmt/template |
| webi | https://webinstall.dev/shfmt/ |
| https://github.com/ivanhapaz/sh#sponsoring |
| sponsoring me on GitHub | https://github.com/sponsors/mvdan |
| https://github.com/ivanhapaz/sh#contributing |
| https://github.com/ivanhapaz/sh#caveats |
| space the operands | https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_03 |
| https://github.com/ivanhapaz/sh#formatting-faqs |
| https://github.com/ivanhapaz/sh#javascript |
| sh-syntax | https://github.com/un-ts/sh-syntax |
| mvdan-sh | https://www.npmjs.com/package/mvdan-sh |
| sh-syntax | https://github.com/un-ts/sh-syntax |
| https://github.com/ivanhapaz/sh#docker |
| Docker | https://hub.docker.com/r/mvdan/shfmt/ |
| https://github.com/ivanhapaz/sh#related-projects |
| BashSupport-Pro | https://www.bashsupport.com/manual/editor/formatter/ |
| dockerfmt | https://github.com/reteps/dockerfmt |
| intellij-shellscript | https://www.jetbrains.com/help/idea/shell-scripts.html |
| micro | https://micro-editor.github.io/ |
| neoformat | https://github.com/sbdchd/neoformat |
| vscode-shfmt | https://marketplace.visualstudio.com/items?itemName=mkhl.shfmt |
| shfmt.el | https://github.com/purcell/emacs-shfmt/ |
| Trunk | https://trunk.io/check |
| modd | https://github.com/cortesi/modd |
| prettier-plugin-sh | https://github.com/un-ts/prettier/tree/master/packages/sh |
| Prettier | https://prettier.io |
| sh-syntax | https://github.com/un-ts/sh-syntax |
| sh-checker | https://github.com/luizm/action-sh-checker |
| mdformat-shfmt | https://github.com/hukkin/mdformat-shfmt |
| mdformat | https://github.com/executablebooks/mdformat |
| pre-commit-shfmt | https://github.com/scop/pre-commit-shfmt |
| pre-commit | https://pre-commit.com |
| tesh | https://github.com/feloy/tesh |
| pkg.go.dev/mvdan.cc/sh/v3 | https://pkg.go.dev/mvdan.cc/sh/v3 |
| Readme | https://github.com/ivanhapaz/sh#readme-ov-file |
| License | https://github.com/ivanhapaz/sh#License-1-ov-file |
| Code of conduct | https://github.com/ivanhapaz/sh#coc-ov-file |
| Contributing | https://github.com/ivanhapaz/sh#contributing-ov-file |
| Security policy | https://github.com/ivanhapaz/sh#security-ov-file |
| Activity | https://github.com/ivanhapaz/sh/activity |
| 0 forks | https://github.com/ivanhapaz/sh/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fivanhapaz%2Fsh&report=ivanhapaz+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |