We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f57b1ad commit 09caa9fCopy full SHA for 09caa9f
tests/scripts/ptc.sh
@@ -36,7 +36,7 @@ for header in ../library/**/*.hpp; do
36
line_length=$(sed --quiet "${i}p" "$header" | wc --chars)
37
padding_length=$((60 - 8 - line_length))
38
padding_length=$(( padding_length > 0 ? padding_length : 0 ))
39
- padding=$(printf '%*s' "$padding_length")
+ padding=$(printf '%*s' "$padding_length" '')
40
sed --in-place "${i}s/$/$padding\/\/${hash}/" "$header"
41
done
42
0 commit comments