Automatically save your todo list to README.md
#!/bin/bash
# Remove all whitespaces from the start of file
sed "s/^[ \t]*//" -i ~/.todo
# Add all the completed todo items to the README.md list
input="/home/unkown/.todo"
while IFS= read -r var
do
echo "- [x] $var" >> /home/unkown/scripts/setup_scripts-test_studio/README.md
done < "$input"