Fix last showing one result less than expected - notes - a console notes manager using git DIR Log DIR Files DIR Refs DIR Tags DIR LICENSE --- DIR commit 5944d7a893a61d765f0c8188ad2785c92bd18eb7 DIR parent 98fa7fdc23e77524db1e3e72ca6a553636825698 HTML Author: Solene Rapenne <solene@perso.pw> Date: Thu, 9 Aug 2018 14:54:16 +0200 Fix last showing one result less than expected Diffstat: M notes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/notes b/notes @@ -122,7 +122,7 @@ last() { if(seen[file]==1) { if(limit != "") { output++; - if(output < limit) { + if(output <= limit) { printf("%20s: %s\n", date, file) } } else {