From 9b208d5cd3cdb480899cac025d69892f5077c429 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 29 Nov 2020 18:26:57 -0800 Subject: [PATCH] Accidentally butchered my cut command --- bin/docs/example-to-doc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/docs/example-to-doc b/bin/docs/example-to-doc index 60ce8590..ae49525b 100755 --- a/bin/docs/example-to-doc +++ b/bin/docs/example-to-doc @@ -1,7 +1,7 @@ #!/bin/sh export EXAMPLE=$1 -EXNAME=$(echo "${EXAMPLE}" |cut -c 3) +EXNAME=$(echo "${EXAMPLE}" |cut -c 3-) cd examples ||exit; \ install -d dirname "${EXAMPLE}" printf "# %s\n\`\`\` c++\n", "${EXNAME}" > "${EXAMPLE}.md"