diff options
author | Jakob Kaivo <jkk@ung.org> | 2018-10-14 15:14:06 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2018-10-14 15:14:06 -0400 |
commit | 3e760d7b730e119fe2ca29e29de86daad2065bb1 (patch) | |
tree | a01dce3418d5b7033691a406ca1fe4c32f6b08ce | |
parent | e91f71c43b79667e9cf73aeef73e028ac16c515b (diff) |
-rwxr-xr-x | color-ls | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -121,7 +121,9 @@ function comma_output() { } END { - if (output == "x") { + if (NR == 0) { + # do nothing + } else if (output == "x") { row_output(); } else if (output == "C") { columns_output(); |