diff options
author | Marvin Borner | 2023-02-28 01:30:08 +0100 |
---|---|---|
committer | Marvin Borner | 2023-02-28 01:30:08 +0100 |
commit | 8c380e85c816ecba9b3b101b8d61d3787c0c421d (patch) | |
tree | 6742ca05013162b7007a8aa1cafc122e2bd6b67a | |
parent | 95a6be8c1cd2a2ef75596f9c8ed5f4bb03ca76fe (diff) |
Fixed weird sorting on some linux systems
-rwxr-xr-x | docs/gen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/gen.sh b/docs/gen.sh index 67ffd7b..5d295e7 100755 --- a/docs/gen.sh +++ b/docs/gen.sh @@ -4,7 +4,7 @@ set -e rm -rf std/ && mkdir -p std/ -files=$(find ../std/ -type f | sort) +files=$(find ../std/ -type f -printf '%h\0%d\0%p\n' | sort -t '\0' -n | awk -F '\0' '{print $3}') links="" for file in $files; do |