Daniel Hofstetter
|
1c6bf6991c
|
nl: don't exit if input is directory
|
2024-01-08 11:01:07 +01:00 |
|
Daniel Hofstetter
|
95ccc54d05
|
nl: defer showing "line number overflow" error
|
2023-09-30 15:35:05 +02:00 |
|
Daniel Hofstetter
|
035032cd83
|
Merge pull request #5158 from cakebaker/nl_section_delimiter
nl: implement -d/--section-delimiter
|
2023-09-29 10:42:04 +02:00 |
|
Daniel Hofstetter
|
06219350fa
|
nl: fix output order if stdin and files are mixed
|
2023-09-23 14:44:30 +02:00 |
|
Daniel Hofstetter
|
1a30a1b8b6
|
nl: support --join-blank-lines over multiple files
|
2023-09-19 10:47:20 +02:00 |
|
Daniel Hofstetter
|
1107fadca9
|
nl: increase line number over multiple files
|
2023-09-19 10:47:00 +02:00 |
|
Daniel Hofstetter
|
db342556c2
|
nl: implement -d/--section-delimiter
|
2023-08-26 16:15:26 +02:00 |
|
Sylvestre Ledru
|
bfca6bf70f
|
Add license headers on all files
|
2023-08-21 10:49:27 +02:00 |
|
Daniel Hofstetter
|
d604f709ce
|
nl: handle line number overflow
|
2023-08-19 07:16:06 +02:00 |
|
Daniel Hofstetter
|
d5ab7bbacd
|
nl: implement TryFrom<&str> for NumberingStyle
|
2023-08-13 14:09:15 +02:00 |
|
Daniel Hofstetter
|
08e21e183b
|
nl: re-add handling for -p/--no-renumber
|
2023-08-12 14:36:22 +02:00 |
|
Daniel Hofstetter
|
271606ddfa
|
nl: fix output of numbering styles
|
2023-08-03 16:53:56 +02:00 |
|
Sylvestre Ledru
|
9449eda51d
|
Merge pull request #5103 from cakebaker/nl_join_blank_lines_show_error_if_zero
nl: show error if --join-blank-lines is zero
|
2023-07-25 20:18:43 +02:00 |
|
Daniel Hofstetter
|
aef130dae7
|
nl: show error if --join-blank-lines is zero
|
2023-07-20 15:26:46 +02:00 |
|
Daniel Hofstetter
|
d7d2ad52db
|
nl: fix zero padding of negative line numbers
|
2023-07-19 16:22:53 +02:00 |
|
Daniel Hofstetter
|
27ee279913
|
nl: fix calculation of line number lengths
|
2023-07-18 09:30:23 +02:00 |
|
Daniel Hofstetter
|
388f249716
|
nl: allow negative values for -i and -v
|
2023-07-14 12:31:17 +02:00 |
|
Daniel Hofstetter
|
20b1f11daa
|
nl: add test for "--number-separator"
and replace "match" with "if let"
|
2023-07-12 15:25:02 +02:00 |
|
Daniel Hofstetter
|
826adc62aa
|
nl: show error if --number-width is zero
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
|
2023-07-11 17:45:53 +02:00 |
|
Daniel Hofstetter
|
cb50208909
|
nl: use value parser for "--number-format"
|
2023-07-10 11:20:37 +02:00 |
|
Daniel Hofstetter
|
fee5225cb6
|
nl: make --no-renumber a flag
|
2023-07-04 10:37:10 +02:00 |
|
Daniel Hofstetter
|
6988eb7ec6
|
tests: expand wildcard imports
|
2023-03-20 15:32:35 +01:00 |
|
Terts Diepraam
|
9177cb7b24
|
all: add tests for usage error exit code
|
2022-09-10 20:59:42 +02:00 |
|
Terts Diepraam
|
18369dc0be
|
all: use array intoiterator
|
2022-04-05 10:39:31 +02:00 |
|
Roy Ivy III
|
4e20dedf58
|
tests ~ refactor/polish spelling (comments, names, and exceptions)
|
2021-05-31 08:23:57 -05:00 |
|
Sylvestre Ledru
|
1d271991af
|
Rustfmt new tests
|
2021-03-18 10:24:30 +01:00 |
|
Roy Ivy III
|
de0375f909
|
tests ~ reorganize tests
|
2020-06-01 18:30:04 -05:00 |
|