miller/pkg/transformers
John Kerl 3e429f5b42
Use "\n" in replace for gsub and sub (#2042)
* Fix issue 1805

* Run `make dev`
2026-04-19 10:21:51 -04:00
..
utils Performance and style fixes (#1981) 2026-02-18 09:19:31 -05:00
aaa_chain_transformer.go Performance and style fixes (#1981) 2026-02-18 09:19:31 -05:00
aaa_record_transformer.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
aaa_transformer_table.go Neaten some comments (#1973) 2026-02-16 13:38:49 -05:00
altkv.go yet more staticcheck 2026-03-03 10:17:01 -05:00
bar.go Performance and style fixes (#1981) 2026-02-18 09:19:31 -05:00
bootstrap.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
case.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
cat.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
check.go yet more staticcheck 2026-03-03 10:17:01 -05:00
clean_whitespace.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
count.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
count_similar.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
cut.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
decimate.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
doc.go Export library code in pkg/ (#1391) 2023-09-10 17:15:13 -04:00
fill_down.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
fill_empty.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
flatten.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
format_values.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
fraction.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
gap.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
grep.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
group_by.go yet more staticcheck 2026-03-03 10:17:01 -05:00
group_like.go yet more staticcheck 2026-03-03 10:17:01 -05:00
having_fields.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
head.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
histogram.go Performance and style fixes (#1981) 2026-02-18 09:19:31 -05:00
join.go Performance and style fixes (#1981) 2026-02-18 09:19:31 -05:00
json_parse.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
json_stringify.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
label.go yet more staticcheck 2026-03-03 10:17:01 -05:00
latin1_to_utf8.go yet more staticcheck 2026-03-03 10:17:01 -05:00
merge_fields.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
most_or_least_frequent.go Performance and style fixes (#1981) 2026-02-18 09:19:31 -05:00
nest.go Performance and style fixes (#1981) 2026-02-18 09:19:31 -05:00
nothing.go yet more staticcheck 2026-03-03 10:17:01 -05:00
put_or_filter.go Replace GOCC parser-generator with PGPG (#2015) 2026-03-15 22:28:57 -04:00
README.md Export library code in pkg/ (#1391) 2023-09-10 17:15:13 -04:00
regularize.go yet more staticcheck 2026-03-03 10:17:01 -05:00
remove_empty_columns.go yet more staticcheck 2026-03-03 10:17:01 -05:00
rename.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
reorder.go Performance and style fixes (#1981) 2026-02-18 09:19:31 -05:00
repeat.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
reshape.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
sample.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
sec2gmt.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
sec2gmtdate.go yet more staticcheck 2026-03-03 10:17:01 -05:00
seqgen.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
shuffle.go yet more staticcheck 2026-03-03 10:17:01 -05:00
skip_trivial_records.go yet more staticcheck 2026-03-03 10:17:01 -05:00
sort.go Performance and style fixes (#1981) 2026-02-18 09:19:31 -05:00
sort_within_records.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
sparsify.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
split.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
stats1.go Performance and style fixes (#1981) 2026-02-18 09:19:31 -05:00
stats2.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
step.go Fix race condition in mlr step (#2041) 2026-04-19 09:39:39 -04:00
subs.go Use "\n" in replace for gsub and sub (#2042) 2026-04-19 10:21:51 -04:00
summary.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
surv.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
tac.go yet more staticcheck 2026-03-03 10:17:01 -05:00
tail.go Performance and style fixes (#1981) 2026-02-18 09:19:31 -05:00
tee.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
template.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
top.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
unflatten.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
uniq.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
unspace.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
unsparsify.go Improve error propagation (#1975) 2026-02-16 16:48:41 -05:00
utf8_to_latin1.go yet more staticcheck 2026-03-03 10:17:01 -05:00

Logic for transforming input records into output records as requested by the user (sort, filter, etc.).:

  • The IRecordTransformer abstract record-transformer interface datatype, as well as the ChainTransformer Go-channel chaining mechanism for piping one transformer into the next.
  • The transformer lookup table, used for Miller command-line parsing, verb construction, and online help.
  • All the concrete record-transformers such as cat, tac, sort, put, and so on.