output the name of the file with more lines, and how many more it has (one space between the name and number). If there is a tie, the output should be "foobar 0". eg: foo has 1 more line: "foo 1"; bar has 3 more lines: "bar 3", same # lines: "foobar 0". NO IF statements.
why is this not working: [[ $r -gt 0 ]] && { echo foo $r; } || [[ $r -lt 0 ]] && { echo bar $r; } || { echo foobar $r; }
$r is the difference between the 2 files