1 2 3 4 5 6 7
#!/bin/sh while : do ./generiraj.sh rss.xml | sponge index.html inotifywait -re modify -e delete . sleep .1 done