Skip to content

replace sed and awk with column options#38

Open
keturn wants to merge 1 commit intovifon:masterfrom
keturn:perf-columns
Open

replace sed and awk with column options#38
keturn wants to merge 1 commit intovifon:masterfrom
keturn:perf-columns

Conversation

@keturn
Copy link
Copy Markdown

@keturn keturn commented Mar 13, 2026

column can handle manage setting the width of its columns, so we don't need to do that with awk and sed.

I think the specific -C option used here goes back to util-linux v2.39 around 2023, but we might be able to figure out other syntax that would work as far back as v2.30 if necessary.

Also switches the field delimiter so we don't have to worry about escaping /.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant