File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ sequence in memory
88* countlets has a new -a option, allowing to specify alphabet to prevent
99loading entire sequence into memory (at the cost of speed for higher k)
1010* countlets version bumped to v1.1
11+ * countfa now reads one char at a time, version bumped to v1.1
1112
12132019-04-26 Benjamin Jean-Marie Tremblay <benjmtremblay@gmail.com>
1314
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ using namespace std;
2626
2727void usage () {
2828 printf (
29- " countfa v1.0 Copyright (C) 2019 Benjamin Jean-Marie Tremblay \n "
29+ " countfa v1.1 Copyright (C) 2019 Benjamin Jean-Marie Tremblay \n "
3030 " \n "
3131 " Usage: coutfa -i [filename] \n "
3232 " cat [filename] | coutfa \n "
@@ -57,9 +57,7 @@ void do_countfa(istream &input) {
5757 }
5858
5959 if (at_name) cout << l;
60- else {
61- if (l != ' ' && l != ' \n ' ) ++counter;
62- }
60+ else if (l != ' ' && l != ' \n ' ) ++counter;
6361
6462 }
6563
You can’t perform that action at this time.
0 commit comments