A shell parser, formatter, and interpreter with bash support; includes shfmt
Highlights:
FORCE_COLOR
env var to always use colors in diffsSingleLine
option to avoid printing newlines&&
and ||
no longer escape newlinesset -o nounset
support to fix many edge casesLookPath
in favor of LookPathDir
trap
with error and exit signalsshopt -s nullglob
type -p
Binaries built on go version go1.16.4 linux/amd64
via a shell script.
Consider becoming a sponsor if you benefit from the work that went into this release!
Highlights:
Binaries built on go version go1.16 linux/amd64
via a shell script.
Consider becoming a sponsor if you benefit from the work that went into this release!
Highlights:
Binaries built on go version go1.15.7 linux/amd64
via a shell script.
Consider becoming a sponsor if you benefit from the work that went into this release!
Highlights:
~
in Bash test expressionsBinaries built on go version go1.15.5 linux/amd64
via a shell script.
Consider becoming a sponsor if you benefit from the work that went into this release!
Highlights:
-filename
to give a name to standard inputfunction f {...}
declarations for ksh supportKeepPadding
now obeys extra indentation when using space indentation((
within test expressions<<-
heredocsLangVariant
now implements flag.Value
$@
and $*
always exist, so "$@"
can expand to zero wordsBinaries built on go version go1.15.3 linux/amd64
via a shell script.
Consider becoming a sponsor if you benefit from the work that went into this release!
Highlights:
FunctionNextLine
Binaries built on go version go1.14.4 linux/amd64
.
Highlights:
function_next_line
in EditorConfig filesKeepPadding
in bytes, to better support unicodeKeepPadding
add spaces right after indentationBinaries built on go version go1.14.2 linux/amd64
.
Highlights:
ignore = true
in an EditorConfig to skip directories-fn
to place function opening braces on the next line-f
when given non-directoriesgo get
installs now embed good version informationCaseClause
to describe its in
tokenKeepPadding
&
test -t
now uses the interpreter's stdin/stdout/stderr files@
and *
with quotes and IFS
Binaries built on go version go1.14.2 linux/amd64
.
Please note that the binaries were re-uploaded on April 10th, to update the Go version and fix the missing version information.
Highlights:
*[i]=x
as a valid assignmentFields
no longer get braces expanded in-placeBinaries built on go version go1.13.8 linux/amd64
.
Highlights:
Parser.Stmts
if we have open heredocs)
after a =~
test regexp"$@"
now expands to zero fields when there are zero parametersBinaries built on go version go1.13.5 linux/amd64
.