aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/wc.c
AgeCommit message (Expand)Author
2021-05-15Convert utf8towc from wchar_t to unsigned (to match wctoutf8).Rob Landley
2018-12-04Add FLAG(x) macro, expanding to (toys.optflags & FLAG_##x)Rob Landley
2018-12-04Clean up some --help formatting.Elliott Hughes
2018-08-04wc: fix the column width heuristics even further.Elliott Hughes
2018-07-09Fix wc column widths.Elliott Hughes
2017-09-05Replace remaining mb*towc() calls with utf8towc().Rob Landley
2017-09-02In wc, replace mbrtowc() with new utf8towc() which doesn't have a context structRob Landley
2016-06-30Teach wc to do -cm together. Fix testsuite so TEST_HOST passes too.Rob Landley
2016-02-14Fix wc -c optimization.Elliott Hughes
2016-02-10make wc -c fasterizabera
2016-01-05Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable formatRob Landley
2014-06-09When locale is enabled, sprintf("%.123s", str) is counting characters, not by...Rob Landley
2013-01-02Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out o...Rob Landley
2012-12-01Minor cleanup: unify two codepaths that do the same thing.Rob Landley
2012-12-01Felix Janda pointed out that the r in mbrtowc() stands for "restartable" so i...Rob Landley
2012-11-28The previous wc -m didn't handle multibyte characters that crossed a buffer b...Rob Landley
2012-11-26Cleanup i18n support (#ifdefectomy, move global init to process launch). Teac...Rob Landley
2012-11-21Make internalization support optionalFelix Janda
2012-11-13Reindent to two spaces per level. Remove vi: directives that haven't worked r...Rob Landley
2012-11-08wc -m only cares about counting characters. Attached is a try on implementing...Felix Janda
2012-10-08New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_c...Rob Landley
2012-09-06Posix compliance: wc shouldn't have trailing spaces (breaks aboriginal's mkinitrRob Landley
2012-08-25Move commands into "posix", "lsb", and "other" menus/directories.Rob Landley