todos.sh, across files ====================== `todos.sh` takes several files, and names each one's file on its lines. Each case below starts with its `CASE/mine.txt`, and `test-todos-files.sh` hands `todos.sh` two files: that one, as `mine.txt`, and `shared/theirs.txt`, which every case shares, as `theirs.txt`. What `todos.sh` prints is checked against `CASE/output`. [testmark]:# (shared/theirs.txt) ```text TODO: theirs, first done: theirs, second ``` ### files are listed in the order given [testmark]:# (ordered/mine.txt) ```text TODO: mine ``` [testmark]:# (ordered/output) ```text mine.txt:1:TODO: mine theirs.txt:1:TODO: theirs, first ``` ### a file with nothing to do adds nothing [testmark]:# (empty/mine.txt) ```text ``` [testmark]:# (empty/output) ```text theirs.txt:1:TODO: theirs, first ```