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

remove_blank_lines: Add a new function to remove blank Line #239

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

b4ldr
Copy link
Member

@b4ldr b4ldr commented Jan 18, 2025

This functions removes all blank lines from a block of text e.g

input = 
foo

bar

foobar
output=
foo
bar
foobar

edit: renamed from clean_blank_lines to remove_blank_lines but open to better names

@b4ldr b4ldr force-pushed the clean_blank_lines branch 2 times, most recently from e33d86e to 1cd2de5 Compare January 18, 2025 21:29
This functions removes all blan lines from a block of text e.g

input = ```
foo

bar

foobar
```

output=```
foo
bar
foobar
```
@b4ldr b4ldr force-pushed the clean_blank_lines branch from 1cd2de5 to 506723f Compare January 18, 2025 21:38
@bastelfreak bastelfreak added the enhancement New feature or request label Jan 18, 2025
@bastelfreak bastelfreak merged commit b9a30d6 into master Jan 18, 2025
5 checks passed
@bastelfreak bastelfreak deleted the clean_blank_lines branch January 18, 2025 21:40
@kenyon kenyon changed the title clean_blank_lines: Add a new function to clean blank Lines clean_blank_lines: Add a new function to remove blank Lines Jan 19, 2025
@kenyon kenyon changed the title clean_blank_lines: Add a new function to remove blank Lines remove_blank_lines: Add a new function to remove blank Lines Jan 19, 2025
@bastelfreak bastelfreak changed the title remove_blank_lines: Add a new function to remove blank Lines Add a new function to remove blank Lines Jan 27, 2025
@bastelfreak bastelfreak changed the title Add a new function to remove blank Lines remove_blank_lines: Add a new function to remove blank Line Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants