> > test_seq is fine, but I do not think tac is portable (only saved by > > the fact that not many people, especially on exotic platforms, run > > perf scripts). > > Serves me right for reading while I'm tired! I glazed right over 'tac'. > If you need a truly unrelated file, you could write random data into it > (there are some examples in t/test-lib-functions.sh), but I'd just write > 'test_seq 1001'. Seems like there might be some value to adding `tac` to the perl script check-non-portable-shell.pl - though I'm not sure what we'd use as an alternative. I'll leave this here for now for someone else to handle in a follow up patch series