File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ sed --in-place '/^\/\/NOLINTNEXTLINE(readability-identifier-naming)$/d' ../libra
2929# adds hash code comments
3030chmod +x ../library/contest/hash.sh
3131for header in ../library/** /* .hpp; do
32- cp $header input
33- lines= " $( cat input | wc -l ) "
34- echo $ lines
35- for i in $( seq 1 $lines ) ; do
36- hash=$( head -n $i input | sed ' /^#include/d' | cpp -dD -P -fpreprocessed | ./../library/contest/hash.sh)
37- sed -i " ${i} s/^/\/\*${hash} \*\/ /" $header
32+ echo " $header "
33+ cp " $header " input
34+ lines= " $( wc -l < input ) "
35+ for i in $( seq 1 " $lines " ) ; do
36+ hash=$( head -n " $i " input | sed ' /^#include/d' | cpp -dD -P -fpreprocessed | ./../library/contest/hash.sh)
37+ sed -i " ${i} s/^/\/\*${hash} \*\/ /" " $header "
3838 done
3939done
4040
You can’t perform that action at this time.
0 commit comments