bash
Package bash implements a bash tokeniser and AST.
Filename
Size
Last Commit Date
Commit Message
..
.github
workflows
go-checks.yml
716
2025/10/18 19:17:06
added CI
cmd
bashfmt
README.md
410
2025/07/21 07:08:41
added README.md for bashfmt
main.go
925
2025/07/25 08:09:21
return exit status 1 on an error
walk
README.md
1492
2026/07/05 17:03:53
removed retired links
example_test.go
863
2026/04/29 07:41:05
added simple example
walk.go
13602
2026/04/27 07:46:31
only handle pointers
walk_test.go
30754
2026/05/17 19:22:59
corrected typos
LICENSE
767
2025/02/27 21:28:48
added LICENSE
README.md
1185
2026/07/05 17:03:53
removed retired links
ast.go
3361
2025/07/18 08:29:55
added type comments
ast_compound.go
27239
2025/07/28 07:01:41
corrected typos
ast_compound_test.go
176976
2025/07/24 07:44:18
added test for an invalid word following a compound statement
ast_parser.go
4434
2026/04/21 07:02:17
use slices.Contains
ast_parser_test.go
549
2025/05/18 18:19:46
added Error tests
ast_statement.go
13847
2026/08/22 21:41:48
added ability to parse automatic file descriptor assignments
ast_statement_test.go
70431
2026/08/22 21:41:57
added test for parsing automatic file descriptor assignments
ast_test.go
44081
2025/10/04 18:25:23
removed unused var
ast_word.go
20674
2025/08/12 06:00:39
substring arguments are words, not just number literals
ast_word_test.go
56247
2025/08/12 06:08:25
added substring parameter expansion test with words instead of number literals
errors.go
1410
2025/05/27 08:49:25
added error
example_test.go
613
2025/10/18 19:17:10
added example
format.go
15632
2026/04/21 07:02:33
replace interface{} with any
format.sh
3072
2025/08/05 06:27:12
corrected formatting
format_format.go
9622
2025/07/20 08:35:50
regen'd
format_print.go
23369
2026/04/29 07:41:22
use switch statement instead of if
format_print_test.go
22269
2026/08/22 21:42:04
added print test for automatic file descriptor assignments
format_types.go
25568
2025/08/05 06:27:18
regen'd
go.mod
92
2025/03/30 18:30:38
updated to latest parser package
go.sum
177
2025/04/17 17:05:19
removed old entries
state_test.go
2232
2025/08/12 06:02:06
added missing/new states
tokeniser.go
48248
2026/09/04 19:43:53
a closing bracket should not break a brace expansion
tokeniser_test.go
147097
2026/09/04 19:44:17
added tokeniser test for a brace expansion containing brackets
types.go
1486
2025/07/20 08:35:50
regen'd