mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
ensure all trim variables are also in quotes
This commit is contained in:
parent
24f65d8599
commit
bb973aa17d
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 . -type f -name '*.cpp' -o -name '*.h')
|
for fname in $(find . -type f -name '*.cpp' -o -name '*.h')
|
||||||
do
|
do
|
||||||
new_fname="$(echo -e "${fname}" | tr ' ' '_')"
|
new_fname="$(echo -e ${fname} | tr ' ' '_')"
|
||||||
new_fname="$(echo -e "${new_fname}" | tr 'A-Z' 'a-z')"
|
new_fname="$(echo -e ${new_fname} | tr 'A-Z' 'a-z')"
|
||||||
if [ $fname != $new_fname ]
|
if [ $fname != $new_fname ]
|
||||||
then
|
then
|
||||||
echo -e $fname" --> "$new_fname
|
echo -e $fname" --> "$new_fname
|
||||||
|
Loading…
Reference in New Issue
Block a user