Skip to content

Conversation

@orangeng
Copy link

@orangeng orangeng commented Apr 2, 2024

Adding the functionality for --zero / -z. As mentioned in issue #6178

@cakebaker cakebaker linked an issue Apr 2, 2024 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Apr 2, 2024

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)

}
}
}
match options.zero {
Copy link
Contributor

Choose a reason for hiding this comment

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

please use a if
no need for match here

@sylvestre
Copy link
Contributor

could you please add a test?
thanks

if options.zero {
print!("\0");
} else {
print!("\n");
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
print!("\n");
println!();

@github-actions
Copy link

github-actions bot commented Apr 2, 2024

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)

@tertsdiepraam
Copy link
Member

tertsdiepraam commented Apr 2, 2024

@orangeng
Copy link
Author

orangeng commented Apr 15, 2024

Changed to use LineEnding. As a general question, is there a good way to know if a needed code function is found in uucore and what is not?

@sylvestre
Copy link
Contributor

is it ready to be reviewed? Thanks

@orangeng
Copy link
Author

Unfortunately, school got busy and had to put this aside temporarily. Will be back on this in 1 week.

@RenjiSann
Copy link
Collaborator

Ping :) @orangeng Do you have time to finish this ?

@orangeng
Copy link
Author

orangeng commented Aug 3, 2024

@RenjiSann thanks for reminding me haha, I unfortunately don't have time so I will close this PR. Feel free to have a go at it

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.

cksum: implement -z

4 participants