mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
remove -e from echo
This commit is contained in:
parent
43b2880892
commit
b9ed82475e
6
.github/workflows/clang-format.yml
vendored
6
.github/workflows/clang-format.yml
vendored
@ -26,11 +26,11 @@ jobs:
|
||||
run: |
|
||||
for fname in $(find . -type f -name '*.cpp' -o -name '*.h')
|
||||
do
|
||||
new_fname=`echo -e ${fname} | tr ' ' '_'`
|
||||
new_fname=`echo -e ${new_fname} | tr 'A-Z' 'a-z'`
|
||||
new_fname=`echo ${fname} | tr ' ' '_'`
|
||||
new_fname=`echo ${new_fname} | tr 'A-Z' 'a-z'`
|
||||
if [ ${fname} != ${new_fname} ]
|
||||
then
|
||||
echo -e "${fname} --> ${new_fname}"
|
||||
echo "${fname} --> ${new_fname}"
|
||||
git mv "${fname}" ${new_fname}
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user