1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +03:00

modifies command echoing for macos / linux compatibility

This commit is contained in:
Yann Collet
2025-02-09 23:41:32 -08:00
parent 468e1453a5
commit 613901b6d3
2 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,10 @@ set -v
datagen > file
# Retrieve the program's version information
# Note: command echoing differs between macos and linux, so it's disabled below
set +v
version_info=$(zstd -V)
set -v
# Compress with various levels and ensure that their sizes are ordered
zstd --fast=10 file -o file-f10.zst -q