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

vsed: stop collapsing whitespace #28814

Merged
merged 1 commit into from Feb 21, 2021
Merged

Conversation

sgn
Copy link
Member

@sgn sgn commented Feb 17, 2021

MCVE:
printf '%s %s\n' a b >afile
vsed -i -e '/a b/d' afile

Expect:

  • afile should be empty
    Actual:
  • afile is not empty

General

Have the results of the proposed changes been tested?

  • I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
  • I generally don't use the affected packages but briefly tested this PR

MCVE:
	printf '%s  %s\n' a b >afile
	vsed -i -e '/a  b/d' afile

Expect:
- afile should be empty
Actual:
- afile is not empty
@sgn sgn requested a review from a team February 20, 2021 00:01
@sgn sgn merged commit f9da7ff into void-linux:master Feb 21, 2021
@sgn sgn deleted the fix-vsed-eat-whitespace branch April 9, 2021 00:17
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant