forked from uutils/coreutils
-
Notifications
You must be signed in to change notification settings - Fork 5
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
cut
command printing extra line that was not ending with the specified terminator
#6
Open
andreistan26
wants to merge
1,564
commits into
UPB-CS-OpenSourceUpstream:main
Choose a base branch
from
andreistan26:cut-newline
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
cut
command printing extra line that was not ending with the specified terminator
#6
andreistan26
wants to merge
1,564
commits into
UPB-CS-OpenSourceUpstream:main
from
andreistan26:cut-newline
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please rebase this and send it to upstream, and place a link to it here. |
andreistan26
force-pushed
the
cut-newline
branch
2 times, most recently
from
January 15, 2024 14:26
09848bf
to
544ac28
Compare
chore(deps): update rust crate lscolors to 0.20.0
* fix issue uutils#6248 * add test to cat for the case of issue uutils#6248
ci: use ubuntu v24 for GNU tests workflow
cat: use `write_end_of_line()` to avoid duplicate code
…d_of_vec users: use `Option` instead of `Vec` for file arg
…ding basenc: perform faster, streaming encoding
…kfile chore(deps): update rust crate once_cell to v1.20.2
* fix uutils#5186 by adding explicit flush. * make test machine-independent --------- Co-authored-by: Sylvestre Ledru <[email protected]> Co-authored-by: Daniel Hofstetter <[email protected]>
* join: add test for multibyte separators * join: implement support for multibyte separators * join: use a trait instead of an enum for separator * join: test whitespace merging
…-vm-1.x chore(deps): update vmactions/freebsd-vm action to v1.1.4
chore(deps): update rust crate procfs to 0.17
Fix uutils#6771 Signed-off-by: Laurent Cheylus <[email protected]>
users: fix lint error manual_unwrap_or_default on OpenBSD
…ockfile fix(deps): update rust crate proc-macro2 to v1.0.87
add back use_self clippy warning
fix(deps): update rust crate libc to v0.2.166
chore(deps): update rust crate blake3 to v1.5.5
…to_tests env: add missing `cfg` attributes to tests
* tr: Add ambiguous octal escape warning, issue uutils#6821 * tr: Make code cleaner
The following explicit lifetimes could be elided: 'a
Co-authored-by: Daniel Hofstetter <[email protected]>
Fix new clippy warnings
Should fix: tests/du/hard-link.sh
du: deduplicate the input
…wnload-artifact-7.x chore(deps): update dawidd6/action-download-artifact action to v7
fix(deps): update rust crate libc to v0.2.167
…-lockfile chore(deps): update rust crate terminal_size to v0.4.1
…etimes uudoc,chcon: fix `needless_lifetimes` warnings
tested by tests/misc/read-errors
* tr: generate an error if the input is a directory tested by tests/misc/read-errors * tr: improve the test * tr: take the commentinto account
comm: generate an error if the input is a directory
uucore/perms: use ORs instead of `match` (fix todo)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
issue: uutils#5795
Using the default line terminator
\n
and without the additional option--only-delimited
,cut
should print the lines that do not contain delimiters only when they are ended with the specified line terminator(the default\n
in this case ornull-terminated
if--zero-terminated
is enabled).In the given input the last line was not ended in a
\n
so it shouldn't have been printed.