mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
fixed trim and assign syntax
This commit is contained in:
parent
8edc022423
commit
0ea90eb3bd
4
.github/workflows/clang-format.yml
vendored
4
.github/workflows/clang-format.yml
vendored
@ -26,8 +26,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
for fname in $(find . -name '*.cpp' -o -name '*.h')
|
for fname in $(find . -name '*.cpp' -o -name '*.h')
|
||||||
do
|
do
|
||||||
$new_fname = tr ' ' '_' $fname
|
new_fname="$(echo -e "${fname}" | tr ' ' '_')"
|
||||||
$new_fname = tr 'A-Z' 'a-z' $new_fname
|
new_fname="$(echo -e "${new_fname}"tr'A-Z' 'a-z')"
|
||||||
echo $new_fname
|
echo $new_fname
|
||||||
done
|
done
|
||||||
git commit -am "formatting filenames $GITHUB_SHA" || true
|
git commit -am "formatting filenames $GITHUB_SHA" || true
|
||||||
|
Loading…
Reference in New Issue
Block a user