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.
2 parents 59c21d1 + fbc812a commit d35a42aCopy full SHA for d35a42a
t/lib-pack.sh
@@ -12,10 +12,10 @@
12
# Print the big-endian 4-byte octal representation of $1
13
uint32_octal () {
14
n=$1
15
- printf '\%o' $(($n / 16777216)); n=$((n % 16777216))
16
- printf '\%o' $(($n / 65536)); n=$((n % 65536))
17
- printf '\%o' $(($n / 256)); n=$((n % 256))
18
- printf '\%o' $(($n ));
+ printf '\\%o' $(($n / 16777216)); n=$((n % 16777216))
+ printf '\\%o' $(($n / 65536)); n=$((n % 65536))
+ printf '\\%o' $(($n / 256)); n=$((n % 256))
+ printf '\\%o' $(($n ));
19
}
20
21
# Print the big-endian 4-byte binary representation of $1
0 commit comments