Fixed broken script
This commit is contained in:
@ -5,9 +5,9 @@
|
||||
# build the blog files
|
||||
cd ../blog
|
||||
CONTENTNUM=$(ls content-* | wc -l )
|
||||
for i in {0..$CONTENTNUM}
|
||||
for ((i=0;i<=$CONTENTNUM;i++))
|
||||
do
|
||||
cat filehead "content-$(printf \"%03d\" $i)" "quote-$(printf \"%03d\" $i)" > blog-00$i
|
||||
cat filehead "content-$(printf %03d $i)" "quote-$(printf %03d $i)" > blog-00$i
|
||||
done
|
||||
rm filehead content* quote* .blog.*
|
||||
|
||||
|
Reference in New Issue
Block a user