+refresh() {
+ read -p "Are you sure you want to refresh? [y/n] " ask
+ [ "$ask" != "y" ] && echo "Aborting..." && exit 0
+
+ echo -e "$blog_index_file\n$rolling_file\n$rss_file" | xargs sed -i "/<!-- BLOG START -->/,/<!-- BLOG END -->/{/<!-- BLOG START -->/!{/<!-- BLOG END -->/!d}}"
+ echo "Successfully refreshed."
+}