Eli Zaretskii wrote: > > > A possible fix is to replace > > > grep 't/infodir/file1.info$' > > > with > > > tr -d '\r' | grep 't/infodir/file1.info$' > > > Then the test passes. > > > > > > > Yes but I'd rather not complicate the code to deal with <CR>s. > > Would it be possible to use 't/infodir/file1.info\r\?$' instead?
No. That does not work, because 'grep' does not understand the shorthand '\r' (nor '\015').
