[Flac-dev] Kludge to work around intermittent errors

Jon Colverson jon at colverson.co.uk
Sun Aug 25 17:45:02 PDT 2002


Hi, I wrote a little shell script that I can use to make flac keep 
retrying until it encodes successfully. I thought I'd post it since it 
might help others:

#!/bin/bash
# reflac - keep repeating a flac command until return value is 0
# public domain

false
while(($?))
do
         flac "$@"
done





More information about the Flac-dev mailing list