Reformat shell scripts with shfmt
All changes in this commit were automated using the command: shfmt -w -i 2 -ci -bn . $(find . -name "*.sh.in") By default, only *.sh and files without extension are checked, so *.sh.in files have to be added additionally. (See mvdan/sh#944)
This commit is contained in:
@@ -11,25 +11,25 @@
|
||||
# See the COPYRIGHT file distributed with this work for additional
|
||||
# information regarding copyright ownership.
|
||||
|
||||
expand ${1} |
|
||||
sed \
|
||||
-e 's/^\([1-9][0-9][0-9][0-9][0-9][0-9]\.\) */\1 /' \
|
||||
-e 's/^\([1-9][0-9][0-9][0-9][0-9]\.\) */\1 /' \
|
||||
-e 's/^\([1-9][0-9][0-9][0-9]\.\) */\1 /' \
|
||||
-e 's/^\( [1-9][0-9][0-9]\.\) */\1 /' \
|
||||
-e 's/^\( [1-9][0-9]\.\) */\1 /' \
|
||||
-e 's/^\( [1-9]\.\) */\1 /' \
|
||||
-e 's/\( \[.\]\) */\1 /' \
|
||||
-e 's/\( \[..\]\) */\1 /' \
|
||||
-e 's/\( \[...\]\) */\1 /' \
|
||||
-e 's/\( \[....\]\) */\1 /' \
|
||||
-e 's/\( \[.....\]\) */\1 /' \
|
||||
-e 's/\( \[......\]\) */\1 /' \
|
||||
-e 's/\( \[.......\]\) */\1 /' \
|
||||
-e 's/\( \[........\]\) */\1 /' \
|
||||
-e 's/\( \[.........\]\) */\1 /' \
|
||||
-e 's/\( \[..........\]\) */\1 /' \
|
||||
-e 's/\( \[...........\]\) */\1 /' \
|
||||
-e 's/\( \[............\]\) */\1 /' \
|
||||
-e 's/[ ]*$//' |
|
||||
unexpand
|
||||
expand ${1} \
|
||||
| sed \
|
||||
-e 's/^\([1-9][0-9][0-9][0-9][0-9][0-9]\.\) */\1 /' \
|
||||
-e 's/^\([1-9][0-9][0-9][0-9][0-9]\.\) */\1 /' \
|
||||
-e 's/^\([1-9][0-9][0-9][0-9]\.\) */\1 /' \
|
||||
-e 's/^\( [1-9][0-9][0-9]\.\) */\1 /' \
|
||||
-e 's/^\( [1-9][0-9]\.\) */\1 /' \
|
||||
-e 's/^\( [1-9]\.\) */\1 /' \
|
||||
-e 's/\( \[.\]\) */\1 /' \
|
||||
-e 's/\( \[..\]\) */\1 /' \
|
||||
-e 's/\( \[...\]\) */\1 /' \
|
||||
-e 's/\( \[....\]\) */\1 /' \
|
||||
-e 's/\( \[.....\]\) */\1 /' \
|
||||
-e 's/\( \[......\]\) */\1 /' \
|
||||
-e 's/\( \[.......\]\) */\1 /' \
|
||||
-e 's/\( \[........\]\) */\1 /' \
|
||||
-e 's/\( \[.........\]\) */\1 /' \
|
||||
-e 's/\( \[..........\]\) */\1 /' \
|
||||
-e 's/\( \[...........\]\) */\1 /' \
|
||||
-e 's/\( \[............\]\) */\1 /' \
|
||||
-e 's/[ ]*$//' \
|
||||
| unexpand
|
||||
|
||||
Reference in New Issue
Block a user