Denys Vlasenko
|
14f57f5357
cut: code shrink
|
1 week ago |
Denys Vlasenko
|
1ea89fa98a
cut: code shrink
|
1 week ago |
Denys Vlasenko
|
b03f5162ac
cut: fix up -D/-s behavior with -F
|
1 week ago |
Denys Vlasenko
|
dd40b40ee5
cut: remove unnecessary initialization of regmatch_t
|
1 week ago |
Denys Vlasenko
|
e2304d47a9
cut: shorten error messages on bad syntax even more
|
1 week ago |
Denys Vlasenko
|
ee8b94acbf
cut: shorten error messages on bad syntax
|
1 week ago |
Denys Vlasenko
|
0bd84c9472
cut: terminate cut_list[] so that we don't need "size of the array" variable
|
1 week ago |
Denys Vlasenko
|
ba9651b803
cut: we can't get empty cut_list[], remove the check for that
|
1 week ago |
Denys Vlasenko
|
e8622f0d85
cut: disallow -f '' and -f '-'
|
1 week ago |
Denys Vlasenko
|
b25ea3f156
cut: fix -F n-m to match toybox
|
2 weeks ago |
Denys Vlasenko
|
d48400d8fb
cut: simplify getopt32 code
|
2 weeks ago |
Denys Vlasenko
|
7624077772
cut: "it's legal to pass an empty list" seems to be untrue
|
2 weeks ago |
Denys Vlasenko
|
f4f8dc6864
cut: whitespace fixes
|
2 weeks ago |
Denys Vlasenko
|
ed6561685c
cut: tweak comments
|
2 weeks ago |
Denys Vlasenko
|
96a230f17b
cut: fix handling of -d ''
|
2 weeks ago |
Denys Vlasenko
|
9adafbc118
cut: prevent infinite loop if -F REGEX matches empty delimiter
|
2 weeks ago |
Denys Vlasenko
|
a4894eaf71
cut: tweak --help
|
2 weeks ago |
Denys Vlasenko
|
9e364b16d1
cut: fix -d$'\n' --output-delimiter=@@ behavior
|
2 weeks ago |
Denys Vlasenko
|
a208fa03de
cut: implement --output-delimiter
|
2 weeks ago |
Denys Vlasenko
|
b402b13fab
cut: with -F disabled in .config, don't show it in --help
|
2 weeks ago |
Denys Vlasenko
|
38a3c0ad32
cut: comment out code which seems to be not needed
|
2 weeks ago |
Denys Vlasenko
|
103139d0e6
cut: fix "echo 1.2 | cut -d. -f1,3" (print "1", not "1.")
|
2 weeks ago |
Denys Vlasenko
|
470f009552
cut: with -F, do not regcomp() pattern for every file
|
2 weeks ago |
Denys Vlasenko
|
55fc6a18da
cut: rename "cut_lists" to "cut_list"
|
2 weeks ago |
Denys Vlasenko
|
1220b1519d
cut: rename some variables to hopefully better names
|
2 weeks ago |
Denys Vlasenko
|
808155ebf3
cut: "orig_line" is redundant, remove it
|
2 weeks ago |
Denys Vlasenko
|
478ac90f2c
cut: allocate "printed" only if OPT_CHAR or OPT_BYTE
|
2 weeks ago |
Denys Vlasenko
|
ad12ab439b
cut: localize 'spos' variable, convert !NUMVAR to NUMVAR == 0
|
2 weeks ago |
Denys Vlasenko
|
73e9d25d75
cut: simplify OPT_ names, eliminate one variable
|
2 weeks ago |
Ron Yorston
|
f020414413
cut: improve detection of invalid ranges
|
1 month ago |