We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a286d8c commit 8d5306bCopy full SHA for 8d5306b
scripts/prepare_newsletter.sh
@@ -11,7 +11,7 @@ read -r -d '\n' -a news <<< `find content/news/ -type d -printf "%f\n"| sort -n`
11
last_news=`echo ${news[-1]} | sed -r s/0//`
12
echo $last_news
13
echo $((last_news+1))
14
-news_to_create_simple=$((last_news+1))
+news_to_create_simple=`echo $((last_news+1))`
15
echo $news_to_create_simple
16
printf "%#03s" $news_to_create_simple
17
news_to_create=`printf "%#03s" $news_to_create_simple`
@@ -22,7 +22,7 @@ read -e -p "Do you want to create issue $news_to_create? (y/n): " choice
22
23
echo "accepted"
24
25
-new_file="content/news/$news_to_create/index.md"
+new_file=`echo "content/news/$news_to_create/index.md"`
26
27
echo $new_file
28
0 commit comments