diff options
author | Marvin Borner | 2024-03-10 20:45:08 +0100 |
---|---|---|
committer | Marvin Borner | 2024-03-10 20:49:10 +0100 |
commit | f0b836a87f25939f593632381409743623bf9cb7 (patch) | |
tree | 548b5c390d5e2c79104691edb2528470fb5d7702 /docs/gensamples.sh | |
parent | 4e680c5523218fb2a5359dae351a692e2d13d2e8 (diff) |
Better std UI
Diffstat (limited to 'docs/gensamples.sh')
-rwxr-xr-x | docs/gensamples.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/gensamples.sh b/docs/gensamples.sh index 704aea5..1734e0a 100755 --- a/docs/gensamples.sh +++ b/docs/gensamples.sh @@ -9,7 +9,7 @@ links="" prefix="" for file in $files; do - name=$(echo "$file" | cut -c12-) + name=$(cut -c12- <<<"$file") _prefix=$(cut -d/ -f1 <<<"$name") if ! [ "$prefix" = "$_prefix" ]; then prefix=$_prefix |