Rob Landley
|
d319b974b8
Help text tweak.
|
2 years ago |
Rob Landley
|
f4c6375fad
Add support for -d $'\n' (cut by line!) and posix -nb (wraps to start of -c)
|
3 years ago |
Rob Landley
|
985ee78538
Switch to FLAG() macros and forbid -f -F at the same time.
|
3 years ago |
Rob Landley
|
d3025b14b9
Convert utf8towc from wchar_t to unsigned (to match wctoutf8).
|
3 years ago |
Jarno Mäkipää
|
01f18c4c6e
cut: re-enable crunch_str on cut -C
|
4 years ago |
Elliott Hughes
|
141a075c0e
Clean up some --help formatting.
|
5 years ago |
Rob Landley
|
8993496e49
Convert option style.
|
5 years ago |
Rob Landley
|
851930b82d
Fix cut -DF as awk replacement by not matching delimiterless lines with -D
|
6 years ago |
Rob Landley
|
d63bc6849c
Change do_lines() semantics to end with a callback(0,0) to indicate EOF,
|
6 years ago |
Rob Landley
|
2d893a4077
Fix cut -s and -f when delimiter not found (posix says print whole line).
|
6 years ago |
Rob Landley
|
69bc956f17
Make -c work with unicode chars, and first stab at -C measuring columns.
|
6 years ago |
Rob Landley
|
3eb69d412e
Complete rewrite of cut. Handle multipe ranges, add -DFO options, start
|
6 years ago |
Elliott Hughes
|
eb7e847adc
Be more consistent about periods in help text.
|
7 years ago |
Rob Landley
|
027a73a903
Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout,
|
8 years ago |
Rob Landley
|
d3a435e53c
Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format
|
8 years ago |
Rob Landley
|
f033f8607f
Move the magic list of commands needing cleanup from toys/pending/README
|
9 years ago |
Paul Barker
|
1dd3704c5f
To ensure that toybox can be installed alongside busybox without
|
9 years ago |
Rob Landley
|
5f1f34ae1a
Fix several printf_format warnings.
|
9 years ago |
Rob Landley
|
42cf443ab6
Reorder functions to get rid of unnecessary prototypes, and move a global into GLOBALS.
|
9 years ago |
Rob Landley
|
7905ef2190
Cleanup pass on cut, more to do.
|
9 years ago |
Rob Landley
|
314f19e4d2
Help text should have a blank line after usage: lines, and a couple other whitespace tweaks.
|
10 years ago |
Rob Landley
|
639334be80
Fix cut.
|
10 years ago |
Rob Landley
|
9b9a1ef587
First pass of cut cleanup, and make test script slightly happier with the concept of 80 character lines.
|
10 years ago |
Rob Landley
|
662a267c9b
Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out other places that were setting it that no longer need to.
|
11 years ago |
Rob Landley
|
db0fff3f84
Commit 698 adding cut should ahve included the actual cut.c file. (Oops.)
|
11 years ago |