From 74e826af1e811915bc5e9f27e744fc3834c36cef Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Sat, 8 Jul 2023 20:02:11 +0200 Subject: [PATCH] remove spaces from new filenames --- new.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new.sh b/new.sh index 16867d0..f9227bb 100755 --- a/new.sh +++ b/new.sh @@ -10,7 +10,7 @@ echo Select a name read name -filePath="$category/$name.md" +filePath="$category/$(echo $name | sed 's/ /_/g').md" tagsList="$(echo \"$category | sed 's#\/#", "#g')\""