This is relatively harmless, since we treat them *almost* identically, except that we print a warning for overridden files to remind you that something fishy is going on. Add a test for the actual warning message to ensure it is printed. (I don't like tests for specific warning messages, but it was necessary in this case.)
2 lines
65 B
Text
2 lines
65 B
Text
redo-ifchange a
|
|
printf '%s-%s-b\n' "$(cat a)" "$(cat stamp)" >$3
|