aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/strings.c
AgeCommit message (Collapse)Author
2018-12-04Add FLAG(x) macro, expanding to (toys.optflags & FLAG_##x)Rob Landley
2018-08-25Convert more argument variables in GLOBALS() to new style.Rob Landley
2017-07-02Add -t, deviations from posix, redo loop to have fewer duplicate tests.Rob Landley
2017-07-02strings tests and bugfixesIlya Kuzmich
Fixes missing newline in output if last byte of the input is string. Fixes one-off offset bug. Adds strings tests. Signed-off-by: Ilya Kuzmich <ilya.kuzmich@gmail.com>
2016-01-05Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable formatRob Landley
checking, and fix up format checking complaints. Added out(type, value) function to stat to avoid a zillion printf typecasts.
2015-08-02Mark command-local functions static.Rob Landley
2014-06-11Promote strings.Rob Landley