v0.3.0
Pre-release
Pre-release
Highlights:
- Add support for bash's
coproc
and extended globbing like@(foo)
- Improve test coverage, adding tests to
cmd/shfmt
and bringingparser
andprinter
close to 100% - Support empty C-style for loops like
for ((;;)) ...
- Support for the
>|
redirect operand - cmd/shfmt
- Fix issue where
.sh
and.bash
files might not be walked if running on a directory - Fix issue where
-p
was not obeyed when formatting stdin
- Fix issue where
- parser
$''
now generates anast.SglQuoted
, not anast.Quoted
- Support for ambiguous
((
like with$((
- Improve special parameter expansions like
$@
or$!
- Improve bash's
export
typeset
,nameref
andreadonly
<>
,>&
and<&
are valid POSIX- Support for bash's
^
,^^
,,
and,,
operands inside${}
Binaries built on go version devel +517a44d Tue Oct 25 12:23:49 2016 +0000 linux/amd64
.
Also, binaries are now smaller thanks to -ldflags='-s -w'
.