Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template: awk removes spaces from multiple blank lines #787

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

tschettervictor
Copy link
Collaborator

Awk appears to remove multiple adjacent spaces from lines within a template. Adding "-F '[ ]'" makes sure field splitting is done on every space, thus preserving them.

#400

Awk appears to remove multiple adjacent spaces from lines within a template. Adding "-F '[ ]'" makes sure field splitting is done on every space, thus preserving them.

BastilleBSD#400
Copy link
Contributor

@michael-o michael-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, and the manpage explicitly says so. WFM now.

@tschettervictor tschettervictor changed the title template: awk remove spaces from multiple blank lines template: awk removes spaces from multiple blank lines Jan 3, 2025
@bmac2 bmac2 merged commit f956254 into BastilleBSD:master Jan 4, 2025
1 check passed
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.

3 participants