mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 02:57:44 +00:00
wc: fix escaping
GNU wc only escapes file names with newlines in them.
This commit is contained in:
parent
d3db8dc29f
commit
ff8a31e835
4 changed files with 51 additions and 14 deletions
4
build.rs
4
build.rs
|
@ -33,7 +33,9 @@ pub fn main() {
|
|||
#[allow(clippy::match_same_arms)]
|
||||
match krate.as_ref() {
|
||||
"default" | "macos" | "unix" | "windows" | "selinux" | "zip" => continue, // common/standard feature names
|
||||
"nightly" | "test_unimplemented" | "expensive_tests" => continue, // crate-local custom features
|
||||
"nightly" | "test_unimplemented" | "expensive_tests" | "test_risky_names" => {
|
||||
continue
|
||||
} // crate-local custom features
|
||||
"uudoc" => continue, // is not a utility
|
||||
"test" => continue, // over-ridden with 'uu_test' to avoid collision with rust core crate 'test'
|
||||
s if s.starts_with(FEATURE_PREFIX) => continue, // crate feature sets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue