mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-18 00:45:47 +00:00
With multiple regexes, 'mlr reorder -r' previously emitted all matched fields in record order, ignoring the order the regexes were given. Now matched fields are grouped by regex-list order (first regex's matches first, then the second's, etc.); within each group, fields keep their record order. A field matching multiple regexes is claimed by the first one. This makes 'reorder -r' consistent with 'cut -orf' and satisfies the original request in #1325: -r '^YYY,^XXX' puts YYY-prefixed fields first, then XXX-prefixed fields, then the rest. Applies to -e, -b, and -a modes as well. Co-authored-by: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| overrides | ||
| src | ||
| _config.yml | ||
| Makefile | ||
| mkdocs.yml | ||
| README.md | ||
| regen.sh | ||
| requirements.txt | ||
| retitle | ||
Please see ../README-docs.md.