aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/gensamples.sh
diff options
context:
space:
mode:
authorMarvin Borner2024-03-10 20:45:08 +0100
committerMarvin Borner2024-03-10 20:49:10 +0100
commitf0b836a87f25939f593632381409743623bf9cb7 (patch)
tree548b5c390d5e2c79104691edb2528470fb5d7702 /docs/gensamples.sh
parent4e680c5523218fb2a5359dae351a692e2d13d2e8 (diff)
Better std UI
Diffstat (limited to 'docs/gensamples.sh')
-rwxr-xr-xdocs/gensamples.sh2
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