mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
8 lines
184 B
Bash
Executable File
8 lines
184 B
Bash
Executable File
padding=" "
|
|
if [[ $OSTYPE == 'darwin'* ]]; then
|
|
sz="$(stat -f %z 'decompressor')"
|
|
else
|
|
sz="$(stat -c %s 'decompressor')"
|
|
fi
|
|
printf "%s%s" "${padding:${#sz}}" $sz
|