mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
All changes in this patch were performed automatically with `shfmt` with
configuration flags specified in `.pre-commit-config.yaml`.
In addition to fixing whitespace the roundtrip through shfmt's AST also
transforms command substitutions
`cmd`
# becomes
$(cmd)
and some redirects
>&2 echo "msg"
# becomes
echo >&2 "msg"
8 lines
173 B
Bash
Executable file
8 lines
173 B
Bash
Executable file
#! /usr/bin/env bash
|
|
#
|
|
# Returns a list of git repositories found in subdirs of the
|
|
# current directory.
|
|
|
|
for i in $(find . -type d); do
|
|
test -e $i/.git && echo $i
|
|
done
|