Could you get a glimpse at
https://bugs.debian.org/cgi-bin/bugrepo ... bug=780224
compare no longer terminates output with \n
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: compare no longer terminates output with \n
At some point, the developers decided that the default output of the command line tools would be for consumption by other programs or scripts-- and any command with the -verbose option would be for human consumption. As a result, non-verbose command-line program output does not include a newline. For the -format option, you can insert a newline with \n but unfortunately you cannot with the compare program other than returning verbose info.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: compare no longer terminates output with \n
I'll mention that if you want an added newline, you can have it:
Code: Select all
compare -format "\n" -metric RMSE rose: rose: NULL
snibgo's IM pages: im.snibgo.com