generate.bash: code style fixes
- there's no point making
.bak
for making three sed edits in same script. there's nothing to backup! -> run sed once - avoid else statement and exit with error -> scripts exiting with failure should use non-zero exit code
- backslash format for future smaller diffs if more files added to the list
- proper arg quote -> don't split words