From f0b836a87f25939f593632381409743623bf9cb7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 10 Mar 2024 20:45:08 +0100 Subject: Better std UI --- docs/gensamples.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/gensamples.sh') 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 -- cgit v1.2.3