diff --git a/src/uu/cat/src/splice.rs b/src/uu/cat/src/splice.rs index 26802c7e6..5a9e8738e 100644 --- a/src/uu/cat/src/splice.rs +++ b/src/uu/cat/src/splice.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use super::{CatResult, FdReadable, InputHandle}; use nix::unistd; diff --git a/src/uu/chcon/src/chcon.rs b/src/uu/chcon/src/chcon.rs index 63ae3abea..ec111c853 100644 --- a/src/uu/chcon/src/chcon.rs +++ b/src/uu/chcon/src/chcon.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars) RFILE #![allow(clippy::upper_case_acronyms)] diff --git a/src/uu/chcon/src/errors.rs b/src/uu/chcon/src/errors.rs index 0bd61ec4a..10d5735a0 100644 --- a/src/uu/chcon/src/errors.rs +++ b/src/uu/chcon/src/errors.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::ffi::OsString; use std::fmt::Write; use std::io; diff --git a/src/uu/chcon/src/fts.rs b/src/uu/chcon/src/fts.rs index 89dd6184d..a81cb39b6 100644 --- a/src/uu/chcon/src/fts.rs +++ b/src/uu/chcon/src/fts.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::ffi::{CStr, CString, OsStr}; use std::marker::PhantomData; use std::os::raw::{c_int, c_long, c_short}; diff --git a/src/uu/csplit/src/csplit.rs b/src/uu/csplit/src/csplit.rs index d1925308e..6c9a776c3 100644 --- a/src/uu/csplit/src/csplit.rs +++ b/src/uu/csplit/src/csplit.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. #![crate_name = "uu_csplit"] // spell-checker:ignore rustdoc #![allow(rustdoc::private_intra_doc_links)] diff --git a/src/uu/csplit/src/csplit_error.rs b/src/uu/csplit/src/csplit_error.rs index b81a331a2..1559a29f8 100644 --- a/src/uu/csplit/src/csplit_error.rs +++ b/src/uu/csplit/src/csplit_error.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::io; use thiserror::Error; diff --git a/src/uu/csplit/src/patterns.rs b/src/uu/csplit/src/patterns.rs index 652b024d8..fd96fd9fb 100644 --- a/src/uu/csplit/src/patterns.rs +++ b/src/uu/csplit/src/patterns.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (regex) SKIPTO UPTO ; (vars) ntimes use crate::csplit_error::CsplitError; diff --git a/src/uu/csplit/src/split_name.rs b/src/uu/csplit/src/split_name.rs index 19e3ac9c2..4d94b56a9 100644 --- a/src/uu/csplit/src/split_name.rs +++ b/src/uu/csplit/src/split_name.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (regex) diuox use regex::Regex; diff --git a/src/uu/dd/src/parseargs/unit_tests.rs b/src/uu/dd/src/parseargs/unit_tests.rs index 54e17b882..a190fd75b 100644 --- a/src/uu/dd/src/parseargs/unit_tests.rs +++ b/src/uu/dd/src/parseargs/unit_tests.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore fname, tname, fpath, specfile, testfile, unspec, ifile, ofile, outfile, fullblock, urand, fileio, atoe, atoibm, behaviour, bmax, bremain, btotal, cflags, creat, ctable, ctty, datastructures, doesnt, etoa, fileout, fname, gnudd, iconvflags, iseek, nocache, noctty, noerror, nofollow, nolinks, nonblock, oconvflags, oseek, outfile, parseargs, rlen, rmax, rposition, rremain, rsofar, rstat, sigusr, sigval, wlen, wstat, oconv use super::*; diff --git a/src/uu/dircolors/src/colors.rs b/src/uu/dircolors/src/colors.rs index d864a23b3..c0a981db8 100644 --- a/src/uu/dircolors/src/colors.rs +++ b/src/uu/dircolors/src/colors.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) EIGHTBIT ETERM MULTIHARDLINK cpio dtterm jfbterm konsole kterm mlterm rmvb rxvt stat'able svgz tmux webm xspf COLORTERM tzst avif tzst mjpg mjpeg webp dpkg rpmnew rpmorig rpmsave pub const INTERNAL_DB: &str = r#"# Configuration file for dircolors, a utility to help you set the diff --git a/src/uu/head/src/take.rs b/src/uu/head/src/take.rs index 47beba8a4..da48afd6a 100644 --- a/src/uu/head/src/take.rs +++ b/src/uu/head/src/take.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Take all but the last elements of an iterator. use std::io::Read; diff --git a/src/uu/install/src/mode.rs b/src/uu/install/src/mode.rs index 6c76dd016..f9018e16f 100644 --- a/src/uu/install/src/mode.rs +++ b/src/uu/install/src/mode.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::fs; use std::path::Path; #[cfg(not(windows))] diff --git a/src/uu/mknod/src/parsemode.rs b/src/uu/mknod/src/parsemode.rs index 2767cb303..0ec80c6b4 100644 --- a/src/uu/mknod/src/parsemode.rs +++ b/src/uu/mknod/src/parsemode.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (path) osrelease use libc::{mode_t, S_IRGRP, S_IROTH, S_IRUSR, S_IWGRP, S_IWOTH, S_IWUSR}; diff --git a/src/uu/nl/src/helper.rs b/src/uu/nl/src/helper.rs index 39d13d565..fe550e6a0 100644 --- a/src/uu/nl/src/helper.rs +++ b/src/uu/nl/src/helper.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) conv use crate::options; diff --git a/src/uu/numfmt/src/format.rs b/src/uu/numfmt/src/format.rs index eb75f7554..08bb0c2e7 100644 --- a/src/uu/numfmt/src/format.rs +++ b/src/uu/numfmt/src/format.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore powf use uucore::display::Quotable; diff --git a/src/uu/numfmt/src/options.rs b/src/uu/numfmt/src/options.rs index bef4a8ce3..07b364f18 100644 --- a/src/uu/numfmt/src/options.rs +++ b/src/uu/numfmt/src/options.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::str::FromStr; use crate::units::Unit; diff --git a/src/uu/numfmt/src/units.rs b/src/uu/numfmt/src/units.rs index 08c7e4d3b..585bae461 100644 --- a/src/uu/numfmt/src/units.rs +++ b/src/uu/numfmt/src/units.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::fmt; pub const SI_BASES: [f64; 10] = [1., 1e3, 1e6, 1e9, 1e12, 1e15, 1e18, 1e21, 1e24, 1e27]; diff --git a/src/uu/od/src/byteorder_io.rs b/src/uu/od/src/byteorder_io.rs index c22097da2..545016ff3 100644 --- a/src/uu/od/src/byteorder_io.rs +++ b/src/uu/od/src/byteorder_io.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) byteorder // workaround until https://github.com/BurntSushi/byteorder/issues/41 has been fixed diff --git a/src/uu/od/src/formatteriteminfo.rs b/src/uu/od/src/formatteriteminfo.rs index 00ee2ee20..9e3c2e836 100644 --- a/src/uu/od/src/formatteriteminfo.rs +++ b/src/uu/od/src/formatteriteminfo.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) formatteriteminfo use std::fmt; diff --git a/src/uu/od/src/inputdecoder.rs b/src/uu/od/src/inputdecoder.rs index 318571cf3..6f08eba12 100644 --- a/src/uu/od/src/inputdecoder.rs +++ b/src/uu/od/src/inputdecoder.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use half::f16; use std::io; diff --git a/src/uu/od/src/inputoffset.rs b/src/uu/od/src/inputoffset.rs index ddaf747f1..a19600055 100644 --- a/src/uu/od/src/inputoffset.rs +++ b/src/uu/od/src/inputoffset.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. #[derive(Copy, Clone, Debug, Eq, PartialEq)] pub enum Radix { Decimal, diff --git a/src/uu/od/src/mockstream.rs b/src/uu/od/src/mockstream.rs index a1ce0dd68..925d52f7e 100644 --- a/src/uu/od/src/mockstream.rs +++ b/src/uu/od/src/mockstream.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // https://github.com/lazy-bitfield/rust-mockstream/pull/2 use std::io::{Cursor, Error, ErrorKind, Read, Result}; diff --git a/src/uu/od/src/multifilereader.rs b/src/uu/od/src/multifilereader.rs index 38e192588..f7575e975 100644 --- a/src/uu/od/src/multifilereader.rs +++ b/src/uu/od/src/multifilereader.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) multifile curr fnames fname xfrd fillloop mockstream use std::fs::File; diff --git a/src/uu/od/src/output_info.rs b/src/uu/od/src/output_info.rs index 211574a61..96c01f906 100644 --- a/src/uu/od/src/output_info.rs +++ b/src/uu/od/src/output_info.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore formatteriteminfo blocksize thisblock use std::cmp; diff --git a/src/uu/od/src/parse_formats.rs b/src/uu/od/src/parse_formats.rs index c414abebe..2bb876d2b 100644 --- a/src/uu/od/src/parse_formats.rs +++ b/src/uu/od/src/parse_formats.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore formatteriteminfo docopt fvox fvoxw vals acdx use uucore::display::Quotable; diff --git a/src/uu/od/src/parse_inputs.rs b/src/uu/od/src/parse_inputs.rs index 3093843d4..74dc5a13a 100644 --- a/src/uu/od/src/parse_inputs.rs +++ b/src/uu/od/src/parse_inputs.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use super::options; use clap::ArgMatches; diff --git a/src/uu/od/src/parse_nrofbytes.rs b/src/uu/od/src/parse_nrofbytes.rs index 7d3bca03d..a5c81f68b 100644 --- a/src/uu/od/src/parse_nrofbytes.rs +++ b/src/uu/od/src/parse_nrofbytes.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use uucore::parse_size::{parse_size, ParseSizeError}; pub fn parse_number_of_bytes(s: &str) -> Result { diff --git a/src/uu/od/src/partialreader.rs b/src/uu/od/src/partialreader.rs index 8b51d8dee..24918f5cf 100644 --- a/src/uu/od/src/partialreader.rs +++ b/src/uu/od/src/partialreader.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore mockstream abcdefgh bcdefgh use std::cmp; diff --git a/src/uu/od/src/peekreader.rs b/src/uu/od/src/peekreader.rs index 45cd554d0..239faab92 100644 --- a/src/uu/od/src/peekreader.rs +++ b/src/uu/od/src/peekreader.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) tempbuffer abcdefgh abcdefghij //! Contains the trait `PeekRead` and type `PeekReader` implementing it. diff --git a/src/uu/od/src/prn_char.rs b/src/uu/od/src/prn_char.rs index 7ae6f084c..21f8073ea 100644 --- a/src/uu/od/src/prn_char.rs +++ b/src/uu/od/src/prn_char.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::str::from_utf8; use crate::formatteriteminfo::{FormatWriter, FormatterItemInfo}; diff --git a/src/uu/od/src/prn_float.rs b/src/uu/od/src/prn_float.rs index 496275574..af632d66b 100644 --- a/src/uu/od/src/prn_float.rs +++ b/src/uu/od/src/prn_float.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use half::f16; use std::f32; use std::f64; diff --git a/src/uu/od/src/prn_int.rs b/src/uu/od/src/prn_int.rs index 0946824c1..c214b7525 100644 --- a/src/uu/od/src/prn_int.rs +++ b/src/uu/od/src/prn_int.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::formatteriteminfo::*; /// format string to print octal using `int_writer_unsigned` diff --git a/src/uu/printf/src/mod.rs b/src/uu/printf/src/mod.rs index 26710c101..759b823cc 100644 --- a/src/uu/printf/src/mod.rs +++ b/src/uu/printf/src/mod.rs @@ -1 +1,5 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. mod cli; diff --git a/src/uu/printf/src/printf.rs b/src/uu/printf/src/printf.rs index bf79369cc..a6205f7cb 100644 --- a/src/uu/printf/src/printf.rs +++ b/src/uu/printf/src/printf.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. #![allow(dead_code)] // spell-checker:ignore (change!) each's // spell-checker:ignore (ToDO) LONGHELP FORMATSTRING templating parameterizing formatstr diff --git a/src/uu/runcon/src/errors.rs b/src/uu/runcon/src/errors.rs index b96cc8743..5b6282940 100644 --- a/src/uu/runcon/src/errors.rs +++ b/src/uu/runcon/src/errors.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::ffi::OsString; use std::fmt::{Display, Formatter, Write}; use std::io; diff --git a/src/uu/runcon/src/runcon.rs b/src/uu/runcon/src/runcon.rs index a22bff470..a802542b2 100644 --- a/src/uu/runcon/src/runcon.rs +++ b/src/uu/runcon/src/runcon.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars) RFILE use clap::builder::ValueParser; diff --git a/src/uu/seq/src/extendedbigdecimal.rs b/src/uu/seq/src/extendedbigdecimal.rs index 253fadfd5..388046ba3 100644 --- a/src/uu/seq/src/extendedbigdecimal.rs +++ b/src/uu/seq/src/extendedbigdecimal.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore bigdecimal extendedbigdecimal extendedbigint //! An arbitrary precision float that can also represent infinity, NaN, etc. //! diff --git a/src/uu/seq/src/extendedbigint.rs b/src/uu/seq/src/extendedbigint.rs index 46153bb7d..6828fba2d 100644 --- a/src/uu/seq/src/extendedbigint.rs +++ b/src/uu/seq/src/extendedbigint.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore bigint extendedbigint extendedbigdecimal //! An arbitrary precision integer that can also represent infinity, NaN, etc. //! diff --git a/src/uu/seq/src/number.rs b/src/uu/seq/src/number.rs index 1bab62b14..85bc327ff 100644 --- a/src/uu/seq/src/number.rs +++ b/src/uu/seq/src/number.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore extendedbigdecimal extendedbigint //! A type to represent the possible start, increment, and end values for seq. //! diff --git a/src/uu/seq/src/numberparse.rs b/src/uu/seq/src/numberparse.rs index 23d94ea2b..b22cf90c0 100644 --- a/src/uu/seq/src/numberparse.rs +++ b/src/uu/seq/src/numberparse.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore extendedbigdecimal extendedbigint bigdecimal numberparse //! Parsing numbers for use in `seq`. //! diff --git a/src/uu/shuf/src/rand_read_adapter.rs b/src/uu/shuf/src/rand_read_adapter.rs index 9cf0ee8a4..728bc0cfb 100644 --- a/src/uu/shuf/src/rand_read_adapter.rs +++ b/src/uu/shuf/src/rand_read_adapter.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // Copyright 2018 Developers of the Rand project. // Copyright 2013 The Rust Project Developers. // diff --git a/src/uu/sort/src/merge.rs b/src/uu/sort/src/merge.rs index 1a987fb4e..b4f084d50 100644 --- a/src/uu/sort/src/merge.rs +++ b/src/uu/sort/src/merge.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Merge already sorted files. //! //! We achieve performance by splitting the tasks of sorting and writing, and reading and parsing between two threads. diff --git a/src/uu/sort/src/tmp_dir.rs b/src/uu/sort/src/tmp_dir.rs index ff14442b5..14e17a0d6 100644 --- a/src/uu/sort/src/tmp_dir.rs +++ b/src/uu/sort/src/tmp_dir.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::{ fs::File, path::{Path, PathBuf}, diff --git a/src/uu/split/src/platform/mod.rs b/src/uu/split/src/platform/mod.rs index cf5d8d384..5afc43eeb 100644 --- a/src/uu/split/src/platform/mod.rs +++ b/src/uu/split/src/platform/mod.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. #[cfg(unix)] pub use self::unix::instantiate_current_writer; #[cfg(unix)] diff --git a/src/uu/split/src/platform/unix.rs b/src/uu/split/src/platform/unix.rs index fedd66dc8..f4adb8188 100644 --- a/src/uu/split/src/platform/unix.rs +++ b/src/uu/split/src/platform/unix.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::env; use std::io::Write; use std::io::{BufWriter, Error, ErrorKind, Result}; diff --git a/src/uu/split/src/platform/windows.rs b/src/uu/split/src/platform/windows.rs index a2711fd3a..8b9078989 100644 --- a/src/uu/split/src/platform/windows.rs +++ b/src/uu/split/src/platform/windows.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::io::Write; use std::io::{BufWriter, Error, ErrorKind, Result}; use std::path::Path; diff --git a/src/uu/stdbuf/build.rs b/src/uu/stdbuf/build.rs index a8472243a..7483aeacf 100644 --- a/src/uu/stdbuf/build.rs +++ b/src/uu/stdbuf/build.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) dylib libstdbuf deps liblibstdbuf use std::env; diff --git a/src/uu/stdbuf/src/libstdbuf/build.rs b/src/uu/stdbuf/src/libstdbuf/build.rs index fc8ddeac8..6dcd6a869 100644 --- a/src/uu/stdbuf/src/libstdbuf/build.rs +++ b/src/uu/stdbuf/src/libstdbuf/build.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) libstdbuf use cpp_build::Config; diff --git a/src/uu/stdbuf/src/libstdbuf/src/libstdbuf.rs b/src/uu/stdbuf/src/libstdbuf/src/libstdbuf.rs index ec99c3864..a29d01b78 100644 --- a/src/uu/stdbuf/src/libstdbuf/src/libstdbuf.rs +++ b/src/uu/stdbuf/src/libstdbuf/src/libstdbuf.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) IOFBF IOLBF IONBF cstdio setvbuf use cpp::cpp; diff --git a/src/uu/test/src/error.rs b/src/uu/test/src/error.rs index ced4b216a..48238fa13 100644 --- a/src/uu/test/src/error.rs +++ b/src/uu/test/src/error.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. /// Represents an error encountered while parsing a test expression #[derive(Debug)] pub enum ParseError { diff --git a/src/uu/wc/src/count_fast.rs b/src/uu/wc/src/count_fast.rs index d151c9c90..863625921 100644 --- a/src/uu/wc/src/count_fast.rs +++ b/src/uu/wc/src/count_fast.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::word_count::WordCount; use super::WordCountable; diff --git a/src/uu/wc/src/countable.rs b/src/uu/wc/src/countable.rs index b86b96fa2..643974464 100644 --- a/src/uu/wc/src/countable.rs +++ b/src/uu/wc/src/countable.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Traits and implementations for iterating over lines in a file-like object. //! //! This module provides a [`WordCountable`] trait and implementations diff --git a/src/uu/wc/src/utf8/mod.rs b/src/uu/wc/src/utf8/mod.rs index 31638e758..ea4f19392 100644 --- a/src/uu/wc/src/utf8/mod.rs +++ b/src/uu/wc/src/utf8/mod.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore Sapin mod read; diff --git a/src/uu/wc/src/utf8/read.rs b/src/uu/wc/src/utf8/read.rs index 1b5bbbe7f..4a92d85e6 100644 --- a/src/uu/wc/src/utf8/read.rs +++ b/src/uu/wc/src/utf8/read.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore bytestream use super::*; use std::error::Error; diff --git a/src/uu/wc/src/word_count.rs b/src/uu/wc/src/word_count.rs index cf839175f..3c18d692b 100644 --- a/src/uu/wc/src/word_count.rs +++ b/src/uu/wc/src/word_count.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::cmp::max; use std::ops::{Add, AddAssign}; diff --git a/src/uu/yes/src/splice.rs b/src/uu/yes/src/splice.rs index a0d41e06f..a95fc35af 100644 --- a/src/uu/yes/src/splice.rs +++ b/src/uu/yes/src/splice.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! On Linux we can use vmsplice() to write data more efficiently. //! //! This does not always work. We're not allowed to splice to some targets, diff --git a/src/uucore/src/lib/features.rs b/src/uucore/src/lib/features.rs index f8a8d2d10..8abccee26 100644 --- a/src/uucore/src/lib/features.rs +++ b/src/uucore/src/lib/features.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // features ~ feature-gated modules (core/bundler file) #[cfg(feature = "encoding")] diff --git a/src/uucore/src/lib/features/memo.rs b/src/uucore/src/lib/features/memo.rs index 47d04f5b8..0603b01c5 100644 --- a/src/uucore/src/lib/features/memo.rs +++ b/src/uucore/src/lib/features/memo.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Main entry point for our implementation of printf. //! //! The [`printf`] and [`sprintf`] closely match the behavior of the diff --git a/src/uucore/src/lib/features/pipes.rs b/src/uucore/src/lib/features/pipes.rs index a76322de8..75749f721 100644 --- a/src/uucore/src/lib/features/pipes.rs +++ b/src/uucore/src/lib/features/pipes.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. /// Thin pipe-related wrappers around functions from the `nix` crate. use std::fs::File; #[cfg(any(target_os = "linux", target_os = "android"))] diff --git a/src/uucore/src/lib/features/ringbuffer.rs b/src/uucore/src/lib/features/ringbuffer.rs index 08073fae0..d58c8c498 100644 --- a/src/uucore/src/lib/features/ringbuffer.rs +++ b/src/uucore/src/lib/features/ringbuffer.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! A fixed-size ring buffer. use std::collections::VecDeque; diff --git a/src/uucore/src/lib/features/tokenize/mod.rs b/src/uucore/src/lib/features/tokenize/mod.rs index dfe44a0e5..49611bbca 100644 --- a/src/uucore/src/lib/features/tokenize/mod.rs +++ b/src/uucore/src/lib/features/tokenize/mod.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. #[allow(clippy::module_inception)] mod num_format; pub mod sub; diff --git a/src/uucore/src/lib/features/tokenize/num_format/format_field.rs b/src/uucore/src/lib/features/tokenize/num_format/format_field.rs index 02998cde5..036ee286d 100644 --- a/src/uucore/src/lib/features/tokenize/num_format/format_field.rs +++ b/src/uucore/src/lib/features/tokenize/num_format/format_field.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars) charf decf floatf intf scif strf Cninety //! Primitives used by Sub Tokenizer diff --git a/src/uucore/src/lib/features/tokenize/num_format/formatter.rs b/src/uucore/src/lib/features/tokenize/num_format/formatter.rs index ed7d5a0f6..2a3fd1013 100644 --- a/src/uucore/src/lib/features/tokenize/num_format/formatter.rs +++ b/src/uucore/src/lib/features/tokenize/num_format/formatter.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Primitives used by num_format and sub_modules. //! never dealt with above (e.g. Sub Tokenizer never uses these) diff --git a/src/uucore/src/lib/features/tokenize/num_format/formatters/base_conv/mod.rs b/src/uucore/src/lib/features/tokenize/num_format/formatters/base_conv/mod.rs index 3df9f7129..f8b5da86c 100644 --- a/src/uucore/src/lib/features/tokenize/num_format/formatters/base_conv/mod.rs +++ b/src/uucore/src/lib/features/tokenize/num_format/formatters/base_conv/mod.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) arrnum arr_num mult basenum bufferval refd vals arrfloat conv intermed addl pub fn arrnum_int_mult(arr_num: &[u8], basenum: u8, base_ten_int_fact: u8) -> Vec { diff --git a/src/uucore/src/lib/features/tokenize/num_format/formatters/base_conv/tests.rs b/src/uucore/src/lib/features/tokenize/num_format/formatters/base_conv/tests.rs index 903a3faf1..bf3747e18 100644 --- a/src/uucore/src/lib/features/tokenize/num_format/formatters/base_conv/tests.rs +++ b/src/uucore/src/lib/features/tokenize/num_format/formatters/base_conv/tests.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) arrnum mult #[cfg(test)] diff --git a/src/uucore/src/lib/features/tokenize/num_format/formatters/cninetyninehexfloatf.rs b/src/uucore/src/lib/features/tokenize/num_format/formatters/cninetyninehexfloatf.rs index a5c51153e..91a854f26 100644 --- a/src/uucore/src/lib/features/tokenize/num_format/formatters/cninetyninehexfloatf.rs +++ b/src/uucore/src/lib/features/tokenize/num_format/formatters/cninetyninehexfloatf.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars) charf decf floatf intf scif strf Cninety // spell-checker:ignore (ToDO) arrnum diff --git a/src/uucore/src/lib/features/tokenize/num_format/formatters/decf.rs b/src/uucore/src/lib/features/tokenize/num_format/formatters/decf.rs index 2ee53882e..35b981b4f 100644 --- a/src/uucore/src/lib/features/tokenize/num_format/formatters/decf.rs +++ b/src/uucore/src/lib/features/tokenize/num_format/formatters/decf.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars) charf decf floatf intf scif strf Cninety //! formatter for %g %G decimal subs diff --git a/src/uucore/src/lib/features/tokenize/num_format/formatters/float_common.rs b/src/uucore/src/lib/features/tokenize/num_format/formatters/float_common.rs index e0a29217c..1cf25b32f 100644 --- a/src/uucore/src/lib/features/tokenize/num_format/formatters/float_common.rs +++ b/src/uucore/src/lib/features/tokenize/num_format/formatters/float_common.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars) charf decf floatf intf scif strf Cninety // spell-checker:ignore (ToDO) arrnum diff --git a/src/uucore/src/lib/features/tokenize/num_format/formatters/floatf.rs b/src/uucore/src/lib/features/tokenize/num_format/formatters/floatf.rs index cca2750dc..59f2cb408 100644 --- a/src/uucore/src/lib/features/tokenize/num_format/formatters/floatf.rs +++ b/src/uucore/src/lib/features/tokenize/num_format/formatters/floatf.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars) charf decf floatf intf scif strf Cninety // spell-checker:ignore (ToDO) arrnum diff --git a/src/uucore/src/lib/features/tokenize/num_format/formatters/intf.rs b/src/uucore/src/lib/features/tokenize/num_format/formatters/intf.rs index 0f6e78de6..11070113c 100644 --- a/src/uucore/src/lib/features/tokenize/num_format/formatters/intf.rs +++ b/src/uucore/src/lib/features/tokenize/num_format/formatters/intf.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars) charf decf floatf intf scif strf Cninety // spell-checker:ignore (ToDO) arrnum diff --git a/src/uucore/src/lib/features/tokenize/num_format/formatters/mod.rs b/src/uucore/src/lib/features/tokenize/num_format/formatters/mod.rs index e23230071..959089171 100644 --- a/src/uucore/src/lib/features/tokenize/num_format/formatters/mod.rs +++ b/src/uucore/src/lib/features/tokenize/num_format/formatters/mod.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars) charf cninetyninehexfloatf decf floatf intf scif strf Cninety mod base_conv; diff --git a/src/uucore/src/lib/features/tokenize/num_format/formatters/scif.rs b/src/uucore/src/lib/features/tokenize/num_format/formatters/scif.rs index c871dc4e5..a0dfa86c1 100644 --- a/src/uucore/src/lib/features/tokenize/num_format/formatters/scif.rs +++ b/src/uucore/src/lib/features/tokenize/num_format/formatters/scif.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars) charf cninetyninehexfloatf decf floatf intf scif strf Cninety //! formatter for %e %E scientific notation subs diff --git a/src/uucore/src/lib/features/tokenize/num_format/mod.rs b/src/uucore/src/lib/features/tokenize/num_format/mod.rs index d40cf92de..d2ce686ff 100644 --- a/src/uucore/src/lib/features/tokenize/num_format/mod.rs +++ b/src/uucore/src/lib/features/tokenize/num_format/mod.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. pub mod format_field; mod formatter; mod formatters; diff --git a/src/uucore/src/lib/features/tokenize/num_format/num_format.rs b/src/uucore/src/lib/features/tokenize/num_format/num_format.rs index c9b1178b6..e9b676a80 100644 --- a/src/uucore/src/lib/features/tokenize/num_format/num_format.rs +++ b/src/uucore/src/lib/features/tokenize/num_format/num_format.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars) charf cninetyninehexfloatf decf floatf intf scif strf Cninety //! handles creating printed output for numeric substitutions diff --git a/src/uucore/src/lib/features/tokenize/sub.rs b/src/uucore/src/lib/features/tokenize/sub.rs index 5bdb24dc6..4651dc8d8 100644 --- a/src/uucore/src/lib/features/tokenize/sub.rs +++ b/src/uucore/src/lib/features/tokenize/sub.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars) charf decf floatf intf scif strf Cninety //! Sub is a token that represents a diff --git a/src/uucore/src/lib/features/tokenize/token.rs b/src/uucore/src/lib/features/tokenize/token.rs index b522c99a4..c4f7bd6ac 100644 --- a/src/uucore/src/lib/features/tokenize/token.rs +++ b/src/uucore/src/lib/features/tokenize/token.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Traits and enums dealing with Tokenization of printf Format String use std::io::Write; use std::iter::Peekable; diff --git a/src/uucore/src/lib/features/tokenize/unescaped_text.rs b/src/uucore/src/lib/features/tokenize/unescaped_text.rs index 29c657ed8..8ec6fd576 100644 --- a/src/uucore/src/lib/features/tokenize/unescaped_text.rs +++ b/src/uucore/src/lib/features/tokenize/unescaped_text.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! UnescapedText is a tokenizer impl //! for tokenizing character literals, //! and escaped character literals (of allowed escapes), diff --git a/src/uucore/src/lib/lib.rs b/src/uucore/src/lib/lib.rs index 110939b7d..1d97522c7 100644 --- a/src/uucore/src/lib/lib.rs +++ b/src/uucore/src/lib/lib.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // library ~ (core/bundler file) // Copyright (C) ~ Alex Lyon diff --git a/src/uucore/src/lib/mods.rs b/src/uucore/src/lib/mods.rs index 52da2788a..cb66c0041 100644 --- a/src/uucore/src/lib/mods.rs +++ b/src/uucore/src/lib/mods.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // mods ~ cross-platforms modules (core/bundler file) pub mod backup_control; diff --git a/src/uucore/src/lib/mods/backup_control.rs b/src/uucore/src/lib/mods/backup_control.rs index 9998c7560..86c7cd72b 100644 --- a/src/uucore/src/lib/mods/backup_control.rs +++ b/src/uucore/src/lib/mods/backup_control.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Implement GNU-style backup functionality. //! //! This module implements the backup functionality as described in the [GNU diff --git a/src/uucore/src/lib/mods/display.rs b/src/uucore/src/lib/mods/display.rs index 95288973a..db92c4887 100644 --- a/src/uucore/src/lib/mods/display.rs +++ b/src/uucore/src/lib/mods/display.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. /// Utilities for printing paths, with special attention paid to special /// characters and invalid unicode. /// diff --git a/src/uucore/src/lib/mods/error.rs b/src/uucore/src/lib/mods/error.rs index f0f62569d..82644ae8a 100644 --- a/src/uucore/src/lib/mods/error.rs +++ b/src/uucore/src/lib/mods/error.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // TODO fix broken links #![allow(rustdoc::broken_intra_doc_links)] //! All utils return exit with an exit code. Usually, the following scheme is used: diff --git a/src/uucore/src/lib/mods/line_ending.rs b/src/uucore/src/lib/mods/line_ending.rs index 073743fc5..6fe608e7d 100644 --- a/src/uucore/src/lib/mods/line_ending.rs +++ b/src/uucore/src/lib/mods/line_ending.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Provides consistent newline/zero terminator handling for `-z`/`--zero` flags. //! //! See the [`LineEnding`] struct for more information. diff --git a/src/uucore/src/lib/mods/os.rs b/src/uucore/src/lib/mods/os.rs index dd06f4739..55bf844b5 100644 --- a/src/uucore/src/lib/mods/os.rs +++ b/src/uucore/src/lib/mods/os.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. /// Test if the program is running under WSL // ref: @@ diff --git a/src/uucore/src/lib/mods/panic.rs b/src/uucore/src/lib/mods/panic.rs index 5a1e20d80..f42b29581 100644 --- a/src/uucore/src/lib/mods/panic.rs +++ b/src/uucore/src/lib/mods/panic.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Custom panic hooks that allow silencing certain types of errors. //! //! Use the [`mute_sigpipe_panic`] function to silence panics caused by diff --git a/src/uucore/src/lib/mods/quoting_style.rs b/src/uucore/src/lib/mods/quoting_style.rs index a6efb2898..1b9a76aae 100644 --- a/src/uucore/src/lib/mods/quoting_style.rs +++ b/src/uucore/src/lib/mods/quoting_style.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::char::from_digit; use std::ffi::OsStr; diff --git a/src/uucore/src/lib/mods/version_cmp.rs b/src/uucore/src/lib/mods/version_cmp.rs index 828b7f2a6..d881a73a1 100644 --- a/src/uucore/src/lib/mods/version_cmp.rs +++ b/src/uucore/src/lib/mods/version_cmp.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::cmp::Ordering; /// Compares the non-digit parts of a version. diff --git a/src/uucore/src/lib/parser.rs b/src/uucore/src/lib/parser.rs index fc3e46b5c..a0de6c0d4 100644 --- a/src/uucore/src/lib/parser.rs +++ b/src/uucore/src/lib/parser.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. pub mod parse_glob; pub mod parse_size; pub mod parse_time; diff --git a/src/uucore/src/lib/parser/parse_glob.rs b/src/uucore/src/lib/parser/parse_glob.rs index a321d470b..9215dd7bf 100644 --- a/src/uucore/src/lib/parser/parse_glob.rs +++ b/src/uucore/src/lib/parser/parse_glob.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Parsing a glob Pattern from a string. //! //! Use the [`from_str`] function to parse a [`Pattern`] from a string. diff --git a/src/uucore/src/lib/parser/shortcut_value_parser.rs b/src/uucore/src/lib/parser/shortcut_value_parser.rs index 07ed49cb3..49bb2b62b 100644 --- a/src/uucore/src/lib/parser/shortcut_value_parser.rs +++ b/src/uucore/src/lib/parser/shortcut_value_parser.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore abcdefgh use clap::{ builder::{PossibleValue, TypedValueParser}, diff --git a/src/uucore_procs/src/lib.rs b/src/uucore_procs/src/lib.rs index b78da7822..ef1ba87cf 100644 --- a/src/uucore_procs/src/lib.rs +++ b/src/uucore_procs/src/lib.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // Copyright (C) ~ Roy Ivy III ; MIT license // spell-checker:ignore backticks uuhelp diff --git a/tests/benches/factor/benches/gcd.rs b/tests/benches/factor/benches/gcd.rs index a9d2a8c55..61545145f 100644 --- a/tests/benches/factor/benches/gcd.rs +++ b/tests/benches/factor/benches/gcd.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion}; use uu_factor::numeric; diff --git a/tests/benches/factor/benches/table.rs b/tests/benches/factor/benches/table.rs index 59e8db1f3..f666d72d5 100644 --- a/tests/benches/factor/benches/table.rs +++ b/tests/benches/factor/benches/table.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use array_init::array_init; use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; use uu_factor::{table::*, Factors}; diff --git a/tests/by-util/test_arch.rs b/tests/by-util/test_arch.rs index 603e1bc49..daf4e32f5 100644 --- a/tests/by-util/test_arch.rs +++ b/tests/by-util/test_arch.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_base64.rs b/tests/by-util/test_base64.rs index 7cd44eefd..b46507fae 100644 --- a/tests/by-util/test_base64.rs +++ b/tests/by-util/test_base64.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_basename.rs b/tests/by-util/test_basename.rs index 88b0c71c8..73b44ff75 100644 --- a/tests/by-util/test_basename.rs +++ b/tests/by-util/test_basename.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (words) reallylongexecutable use crate::common::util::TestScenario; diff --git a/tests/by-util/test_basenc.rs b/tests/by-util/test_basenc.rs index 401c23d45..6c71b63f7 100644 --- a/tests/by-util/test_basenc.rs +++ b/tests/by-util/test_basenc.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_cat.rs b/tests/by-util/test_cat.rs index c32828a83..27f40356d 100644 --- a/tests/by-util/test_cat.rs +++ b/tests/by-util/test_cat.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore NOFILE #[cfg(not(windows))] diff --git a/tests/by-util/test_chcon.rs b/tests/by-util/test_chcon.rs index bea5462b4..71405e451 100644 --- a/tests/by-util/test_chcon.rs +++ b/tests/by-util/test_chcon.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (jargon) xattributes #![cfg(feature = "feat_selinux")] diff --git a/tests/by-util/test_chgrp.rs b/tests/by-util/test_chgrp.rs index cf6c62ff7..07966b67b 100644 --- a/tests/by-util/test_chgrp.rs +++ b/tests/by-util/test_chgrp.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (words) nosuchgroup groupname use crate::common::util::TestScenario; diff --git a/tests/by-util/test_chmod.rs b/tests/by-util/test_chmod.rs index 9e3c7d2da..be730a8c0 100644 --- a/tests/by-util/test_chmod.rs +++ b/tests/by-util/test_chmod.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::{AtPath, TestScenario, UCommand}; use once_cell::sync::Lazy; use std::fs::{metadata, set_permissions, OpenOptions, Permissions}; diff --git a/tests/by-util/test_chown.rs b/tests/by-util/test_chown.rs index 7a1a4a6bd..40c63cefd 100644 --- a/tests/by-util/test_chown.rs +++ b/tests/by-util/test_chown.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (words) agroupthatdoesntexist auserthatdoesntexist cuuser groupname notexisting passgrp use crate::common::util::{is_ci, run_ucmd_as_root, CmdResult, TestScenario}; diff --git a/tests/by-util/test_chroot.rs b/tests/by-util/test_chroot.rs index 697be8775..1fc2231d5 100644 --- a/tests/by-util/test_chroot.rs +++ b/tests/by-util/test_chroot.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (words) araba newroot userspec chdir pwd's isroot #[cfg(not(target_os = "android"))] diff --git a/tests/by-util/test_cksum.rs b/tests/by-util/test_cksum.rs index 41ddc2ee0..a9d9b272b 100644 --- a/tests/by-util/test_cksum.rs +++ b/tests/by-util/test_cksum.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (words) asdf algo algos use crate::common::util::TestScenario; diff --git a/tests/by-util/test_comm.rs b/tests/by-util/test_comm.rs index 42c8358bb..e2bcc1c44 100644 --- a/tests/by-util/test_comm.rs +++ b/tests/by-util/test_comm.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (words) defaultcheck nocheck use crate::common::util::TestScenario; diff --git a/tests/by-util/test_cp.rs b/tests/by-util/test_cp.rs index 18f3829a2..635f24c51 100644 --- a/tests/by-util/test_cp.rs +++ b/tests/by-util/test_cp.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (flags) reflink (fs) tmpfs (linux) rlimit Rlim NOFILE clob btrfs ROOTDIR USERDIR procfs outfile use crate::common::util::TestScenario; diff --git a/tests/by-util/test_csplit.rs b/tests/by-util/test_csplit.rs index eecaccfaf..b83d5e0ee 100644 --- a/tests/by-util/test_csplit.rs +++ b/tests/by-util/test_csplit.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use glob::glob; diff --git a/tests/by-util/test_cut.rs b/tests/by-util/test_cut.rs index a82950beb..7f86c803e 100644 --- a/tests/by-util/test_cut.rs +++ b/tests/by-util/test_cut.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; static INPUT: &str = "lists.txt"; diff --git a/tests/by-util/test_date.rs b/tests/by-util/test_date.rs index efd16d5c7..a65f02fa4 100644 --- a/tests/by-util/test_date.rs +++ b/tests/by-util/test_date.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use regex::Regex; #[cfg(all(unix, not(target_os = "macos")))] diff --git a/tests/by-util/test_dd.rs b/tests/by-util/test_dd.rs index b43f32c24..fe38acca4 100644 --- a/tests/by-util/test_dd.rs +++ b/tests/by-util/test_dd.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore fname, tname, fpath, specfile, testfile, unspec, ifile, ofile, outfile, fullblock, urand, fileio, atoe, atoibm, availible, behaviour, bmax, bremain, btotal, cflags, creat, ctable, ctty, datastructures, doesnt, etoa, fileout, fname, gnudd, iconvflags, iseek, nocache, noctty, noerror, nofollow, nolinks, nonblock, oconvflags, oseek, outfile, parseargs, rlen, rmax, rposition, rremain, rsofar, rstat, sigusr, sigval, wlen, wstat abcdefghijklm abcdefghi nabcde nabcdefg abcdefg use crate::common::util::TestScenario; diff --git a/tests/by-util/test_df.rs b/tests/by-util/test_df.rs index 926d1be5d..227121ef4 100644 --- a/tests/by-util/test_df.rs +++ b/tests/by-util/test_df.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore udev pcent iuse itotal iused ipcent use std::collections::HashSet; diff --git a/tests/by-util/test_dir.rs b/tests/by-util/test_dir.rs index fd94f3a8f..3d16f8a67 100644 --- a/tests/by-util/test_dir.rs +++ b/tests/by-util/test_dir.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use regex::Regex; diff --git a/tests/by-util/test_dircolors.rs b/tests/by-util/test_dircolors.rs index 2d83c76b5..d4fa0a3b0 100644 --- a/tests/by-util/test_dircolors.rs +++ b/tests/by-util/test_dircolors.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore overridable use crate::common::util::TestScenario; diff --git a/tests/by-util/test_dirname.rs b/tests/by-util/test_dirname.rs index ae689041b..8471b48c4 100644 --- a/tests/by-util/test_dirname.rs +++ b/tests/by-util/test_dirname.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_echo.rs b/tests/by-util/test_echo.rs index 1c07a6737..3a8e7f86b 100644 --- a/tests/by-util/test_echo.rs +++ b/tests/by-util/test_echo.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (words) araba merci use crate::common::util::TestScenario; diff --git a/tests/by-util/test_env.rs b/tests/by-util/test_env.rs index bd206c8e5..8ce55a1d3 100644 --- a/tests/by-util/test_env.rs +++ b/tests/by-util/test_env.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (words) bamf chdir rlimit prlimit COMSPEC use crate::common::util::TestScenario; diff --git a/tests/by-util/test_expand.rs b/tests/by-util/test_expand.rs index 88c1b1670..f6802358c 100644 --- a/tests/by-util/test_expand.rs +++ b/tests/by-util/test_expand.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use uucore::display::Quotable; // spell-checker:ignore (ToDO) taaaa tbbbb tcccc diff --git a/tests/by-util/test_expr.rs b/tests/by-util/test_expr.rs index 235a91120..665f89615 100644 --- a/tests/by-util/test_expr.rs +++ b/tests/by-util/test_expr.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore αbcdef ; (people) kkos use crate::common::util::TestScenario; diff --git a/tests/by-util/test_false.rs b/tests/by-util/test_false.rs index c6c663404..01916ec62 100644 --- a/tests/by-util/test_false.rs +++ b/tests/by-util/test_false.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "netbsd"))] use std::fs::OpenOptions; diff --git a/tests/by-util/test_fmt.rs b/tests/by-util/test_fmt.rs index 84a19d34d..7d23cbd52 100644 --- a/tests/by-util/test_fmt.rs +++ b/tests/by-util/test_fmt.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_fold.rs b/tests/by-util/test_fold.rs index b61d9f5ed..6895f51b6 100644 --- a/tests/by-util/test_fold.rs +++ b/tests/by-util/test_fold.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_hashsum.rs b/tests/by-util/test_hashsum.rs index 3650047b2..4bf06308d 100644 --- a/tests/by-util/test_hashsum.rs +++ b/tests/by-util/test_hashsum.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; // spell-checker:ignore checkfile, nonames, testf, ntestf macro_rules! get_hash( diff --git a/tests/by-util/test_hostid.rs b/tests/by-util/test_hostid.rs index b42ec211d..e9336116b 100644 --- a/tests/by-util/test_hostid.rs +++ b/tests/by-util/test_hostid.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use regex::Regex; diff --git a/tests/by-util/test_hostname.rs b/tests/by-util/test_hostname.rs index 3c01a1197..84cb73e2e 100644 --- a/tests/by-util/test_hostname.rs +++ b/tests/by-util/test_hostname.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_install.rs b/tests/by-util/test_install.rs index d76ce1e01..7387748c6 100644 --- a/tests/by-util/test_install.rs +++ b/tests/by-util/test_install.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (words) helloworld nodir objdump n'source use crate::common::util::{is_ci, TestScenario}; diff --git a/tests/by-util/test_join.rs b/tests/by-util/test_join.rs index f6fbe14c3..e2e5dc868 100644 --- a/tests/by-util/test_join.rs +++ b/tests/by-util/test_join.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (words) autoformat nocheck use crate::common::util::TestScenario; diff --git a/tests/by-util/test_kill.rs b/tests/by-util/test_kill.rs index d36023298..a9094ecf6 100644 --- a/tests/by-util/test_kill.rs +++ b/tests/by-util/test_kill.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use regex::Regex; use std::os::unix::process::ExitStatusExt; diff --git a/tests/by-util/test_link.rs b/tests/by-util/test_link.rs index 3c068af93..f0135983d 100644 --- a/tests/by-util/test_link.rs +++ b/tests/by-util/test_link.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_ln.rs b/tests/by-util/test_ln.rs index 3be07c4d7..dc31f7261 100644 --- a/tests/by-util/test_ln.rs +++ b/tests/by-util/test_ln.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use std::path::PathBuf; diff --git a/tests/by-util/test_logname.rs b/tests/by-util/test_logname.rs index b0cda1a9d..883397555 100644 --- a/tests/by-util/test_logname.rs +++ b/tests/by-util/test_logname.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::{is_ci, TestScenario}; use std::env; diff --git a/tests/by-util/test_ls.rs b/tests/by-util/test_ls.rs index 15ded8e6b..f18150358 100644 --- a/tests/by-util/test_ls.rs +++ b/tests/by-util/test_ls.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (words) READMECAREFULLY birthtime doesntexist oneline somebackup lrwx somefile somegroup somehiddenbackup somehiddenfile tabsize aaaaaaaa bbbb cccc dddddddd ncccc neee naaaaa nbcdef nfffff #[cfg(any(unix, feature = "feat_selinux"))] diff --git a/tests/by-util/test_mkdir.rs b/tests/by-util/test_mkdir.rs index 11a860d5a..8a6eae27b 100644 --- a/tests/by-util/test_mkdir.rs +++ b/tests/by-util/test_mkdir.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[cfg(not(windows))] use libc::{mode_t, umask}; diff --git a/tests/by-util/test_mkfifo.rs b/tests/by-util/test_mkfifo.rs index d4ebab640..731b6c1d5 100644 --- a/tests/by-util/test_mkfifo.rs +++ b/tests/by-util/test_mkfifo.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_mknod.rs b/tests/by-util/test_mknod.rs index deea8bb4e..2d83d250d 100644 --- a/tests/by-util/test_mknod.rs +++ b/tests/by-util/test_mknod.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_mktemp.rs b/tests/by-util/test_mktemp.rs index 4544b6b30..611a42e43 100644 --- a/tests/by-util/test_mktemp.rs +++ b/tests/by-util/test_mktemp.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (words) gpghome use crate::common::util::TestScenario; diff --git a/tests/by-util/test_more.rs b/tests/by-util/test_more.rs index d94a92185..b6ded2298 100644 --- a/tests/by-util/test_more.rs +++ b/tests/by-util/test_more.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use is_terminal::IsTerminal; diff --git a/tests/by-util/test_mv.rs b/tests/by-util/test_mv.rs index ceaa4ba22..932019a34 100644 --- a/tests/by-util/test_mv.rs +++ b/tests/by-util/test_mv.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use filetime::FileTime; use std::thread::sleep; diff --git a/tests/by-util/test_nice.rs b/tests/by-util/test_nice.rs index 4e8d5a2ee..994b0e856 100644 --- a/tests/by-util/test_nice.rs +++ b/tests/by-util/test_nice.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore libc's use crate::common::util::TestScenario; diff --git a/tests/by-util/test_nl.rs b/tests/by-util/test_nl.rs index 4aa95030b..b58c0c206 100644 --- a/tests/by-util/test_nl.rs +++ b/tests/by-util/test_nl.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore binvalid finvalid hinvalid iinvalid linvalid ninvalid vinvalid winvalid use crate::common::util::TestScenario; diff --git a/tests/by-util/test_nohup.rs b/tests/by-util/test_nohup.rs index c14a2e494..b014c31aa 100644 --- a/tests/by-util/test_nohup.rs +++ b/tests/by-util/test_nohup.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use std::thread::sleep; diff --git a/tests/by-util/test_nproc.rs b/tests/by-util/test_nproc.rs index 2e3c5c603..22523352b 100644 --- a/tests/by-util/test_nproc.rs +++ b/tests/by-util/test_nproc.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore incorrectnumber use crate::common::util::TestScenario; diff --git a/tests/by-util/test_numfmt.rs b/tests/by-util/test_numfmt.rs index 561752db3..2c2e95d0b 100644 --- a/tests/by-util/test_numfmt.rs +++ b/tests/by-util/test_numfmt.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (paths) gnutest use crate::common::util::TestScenario; diff --git a/tests/by-util/test_paste.rs b/tests/by-util/test_paste.rs index da92daa32..0fbdb75d2 100644 --- a/tests/by-util/test_paste.rs +++ b/tests/by-util/test_paste.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; struct TestData<'b> { diff --git a/tests/by-util/test_pathchk.rs b/tests/by-util/test_pathchk.rs index 771fbd0a9..f497cfe89 100644 --- a/tests/by-util/test_pathchk.rs +++ b/tests/by-util/test_pathchk.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_pr.rs b/tests/by-util/test_pr.rs index b62fa4a96..195d40567 100644 --- a/tests/by-util/test_pr.rs +++ b/tests/by-util/test_pr.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) Sdivide use crate::common::util::{TestScenario, UCommand}; diff --git a/tests/by-util/test_printenv.rs b/tests/by-util/test_printenv.rs index fa7d420e1..c9eb3c60e 100644 --- a/tests/by-util/test_printenv.rs +++ b/tests/by-util/test_printenv.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_printf.rs b/tests/by-util/test_printf.rs index e9b25954f..d7ba5679e 100644 --- a/tests/by-util/test_printf.rs +++ b/tests/by-util/test_printf.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_ptx.rs b/tests/by-util/test_ptx.rs index db4a4f3cc..a106972ac 100644 --- a/tests/by-util/test_ptx.rs +++ b/tests/by-util/test_ptx.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_pwd.rs b/tests/by-util/test_pwd.rs index 1e43f5be6..89341c0c3 100644 --- a/tests/by-util/test_pwd.rs +++ b/tests/by-util/test_pwd.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (words) symdir somefakedir use std::path::PathBuf; diff --git a/tests/by-util/test_readlink.rs b/tests/by-util/test_readlink.rs index f08671583..973e30a35 100644 --- a/tests/by-util/test_readlink.rs +++ b/tests/by-util/test_readlink.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore regfile use crate::common::util::{get_root_path, TestScenario}; diff --git a/tests/by-util/test_realpath.rs b/tests/by-util/test_realpath.rs index 707378c97..c3a15fba4 100644 --- a/tests/by-util/test_realpath.rs +++ b/tests/by-util/test_realpath.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::{get_root_path, TestScenario}; #[cfg(windows)] diff --git a/tests/by-util/test_relpath.rs b/tests/by-util/test_relpath.rs index 65cbd391e..8a3c91802 100644 --- a/tests/by-util/test_relpath.rs +++ b/tests/by-util/test_relpath.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use std::borrow::Cow; use std::path::Path; diff --git a/tests/by-util/test_rm.rs b/tests/by-util/test_rm.rs index 737c4fa79..82a9362dd 100644 --- a/tests/by-util/test_rm.rs +++ b/tests/by-util/test_rm.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::process::Stdio; use crate::common::util::TestScenario; diff --git a/tests/by-util/test_rmdir.rs b/tests/by-util/test_rmdir.rs index 56e801d7e..086d43748 100644 --- a/tests/by-util/test_rmdir.rs +++ b/tests/by-util/test_rmdir.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; const DIR: &str = "dir"; diff --git a/tests/by-util/test_runcon.rs b/tests/by-util/test_runcon.rs index dd4445625..7635fea49 100644 --- a/tests/by-util/test_runcon.rs +++ b/tests/by-util/test_runcon.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (jargon) xattributes #![cfg(feature = "feat_selinux")] diff --git a/tests/by-util/test_seq.rs b/tests/by-util/test_seq.rs index de0781912..8f879263b 100644 --- a/tests/by-util/test_seq.rs +++ b/tests/by-util/test_seq.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore lmnop xlmnop use crate::common::util::TestScenario; use std::process::Stdio; diff --git a/tests/by-util/test_shred.rs b/tests/by-util/test_shred.rs index d98b840c4..83d2890ed 100644 --- a/tests/by-util/test_shred.rs +++ b/tests/by-util/test_shred.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_shuf.rs b/tests/by-util/test_shuf.rs index 44282b8a3..9841f028b 100644 --- a/tests/by-util/test_shuf.rs +++ b/tests/by-util/test_shuf.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_sleep.rs b/tests/by-util/test_sleep.rs index 76e98e012..dd99c7406 100644 --- a/tests/by-util/test_sleep.rs +++ b/tests/by-util/test_sleep.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use rstest::rstest; // spell-checker:ignore dont diff --git a/tests/by-util/test_stdbuf.rs b/tests/by-util/test_stdbuf.rs index 334715706..e31c532e2 100644 --- a/tests/by-util/test_stdbuf.rs +++ b/tests/by-util/test_stdbuf.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. #[cfg(not(target_os = "windows"))] use crate::common::util::TestScenario; diff --git a/tests/by-util/test_stty.rs b/tests/by-util/test_stty.rs index e85c11082..a9a9209b0 100644 --- a/tests/by-util/test_stty.rs +++ b/tests/by-util/test_stty.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore parenb parmrk ixany iuclc onlcr ofdel icanon noflsh use crate::common::util::TestScenario; diff --git a/tests/by-util/test_sum.rs b/tests/by-util/test_sum.rs index 0a43a3043..13f453ba1 100644 --- a/tests/by-util/test_sum.rs +++ b/tests/by-util/test_sum.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_sync.rs b/tests/by-util/test_sync.rs index 9cae3b8a0..9a824cd48 100644 --- a/tests/by-util/test_sync.rs +++ b/tests/by-util/test_sync.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use std::fs; use tempfile::tempdir; diff --git a/tests/by-util/test_tac.rs b/tests/by-util/test_tac.rs index cc98ec616..fa5f67f13 100644 --- a/tests/by-util/test_tac.rs +++ b/tests/by-util/test_tac.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore axxbxx bxxaxx axxx axxxx xxaxx xxax xxxxa axyz zyax zyxa use crate::common::util::TestScenario; diff --git a/tests/by-util/test_tee.rs b/tests/by-util/test_tee.rs index 51d552d67..6f04edfc3 100644 --- a/tests/by-util/test_tee.rs +++ b/tests/by-util/test_tee.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; // tests for basic tee functionality. diff --git a/tests/by-util/test_timeout.rs b/tests/by-util/test_timeout.rs index 8e6e5db55..6c4a00eb5 100644 --- a/tests/by-util/test_timeout.rs +++ b/tests/by-util/test_timeout.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore dont use crate::common::util::TestScenario; diff --git a/tests/by-util/test_touch.rs b/tests/by-util/test_touch.rs index 0ebbee1d7..942446a33 100644 --- a/tests/by-util/test_touch.rs +++ b/tests/by-util/test_touch.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (formats) cymdhm cymdhms mdhm mdhms ymdhm ymdhms datetime mktime use crate::common::util::{AtPath, TestScenario}; diff --git a/tests/by-util/test_tr.rs b/tests/by-util/test_tr.rs index 4e437609e..7c475a492 100644 --- a/tests/by-util/test_tr.rs +++ b/tests/by-util/test_tr.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore aabbaa aabbcc aabc abbb abcc abcdefabcdef abcdefghijk abcdefghijklmn abcdefghijklmnop ABCDEFGHIJKLMNOPQRS abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFZZ abcxyz ABCXYZ abcxyzabcxyz ABCXYZABCXYZ acbdef alnum amzamz AMZXAMZ bbbd cclass cefgm cntrl compl dabcdef dncase Gzabcdefg PQRST upcase wxyzz xdigit xycde xyyye xyyz xyzzzzxyzzzz ZABCDEF Zamz Cdefghijkl Cdefghijklmn use crate::common::util::TestScenario; diff --git a/tests/by-util/test_true.rs b/tests/by-util/test_true.rs index 1675b3903..750c60132 100644 --- a/tests/by-util/test_true.rs +++ b/tests/by-util/test_true.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "netbsd"))] use std::fs::OpenOptions; diff --git a/tests/by-util/test_tsort.rs b/tests/by-util/test_tsort.rs index 62a74c31d..188894516 100644 --- a/tests/by-util/test_tsort.rs +++ b/tests/by-util/test_tsort.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_tty.rs b/tests/by-util/test_tty.rs index 87dcbac85..0f2c58806 100644 --- a/tests/by-util/test_tty.rs +++ b/tests/by-util/test_tty.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::fs::File; use crate::common::util::TestScenario; diff --git a/tests/by-util/test_uname.rs b/tests/by-util/test_uname.rs index 5076334e5..3676eefba 100644 --- a/tests/by-util/test_uname.rs +++ b/tests/by-util/test_uname.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_unexpand.rs b/tests/by-util/test_unexpand.rs index c833c93e4..ddbe3343e 100644 --- a/tests/by-util/test_unexpand.rs +++ b/tests/by-util/test_unexpand.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_uniq.rs b/tests/by-util/test_uniq.rs index 57f0ec111..97a829b9f 100644 --- a/tests/by-util/test_uniq.rs +++ b/tests/by-util/test_uniq.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::io::Write; // spell-checker:ignore nabcd diff --git a/tests/by-util/test_unlink.rs b/tests/by-util/test_unlink.rs index 5313c9eab..055f47f10 100644 --- a/tests/by-util/test_unlink.rs +++ b/tests/by-util/test_unlink.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_uptime.rs b/tests/by-util/test_uptime.rs index 628f4cead..3967d0252 100644 --- a/tests/by-util/test_uptime.rs +++ b/tests/by-util/test_uptime.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use regex::Regex; diff --git a/tests/by-util/test_users.rs b/tests/by-util/test_users.rs index 6a54aa8d2..766378a9d 100644 --- a/tests/by-util/test_users.rs +++ b/tests/by-util/test_users.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; #[test] diff --git a/tests/by-util/test_vdir.rs b/tests/by-util/test_vdir.rs index f6498567f..97d5b847f 100644 --- a/tests/by-util/test_vdir.rs +++ b/tests/by-util/test_vdir.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::TestScenario; use regex::Regex; diff --git a/tests/by-util/test_wc.rs b/tests/by-util/test_wc.rs index aba5ed350..6417470c5 100644 --- a/tests/by-util/test_wc.rs +++ b/tests/by-util/test_wc.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use crate::common::util::{vec_of_size, TestScenario}; // spell-checker:ignore (flags) lwmcL clmwL ; (path) bogusfile emptyfile manyemptylines moby notrailingnewline onelongemptyline onelongword weirdchars diff --git a/tests/by-util/test_yes.rs b/tests/by-util/test_yes.rs index a674f8245..f40d6d5b8 100644 --- a/tests/by-util/test_yes.rs +++ b/tests/by-util/test_yes.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::ffi::OsStr; use std::process::{ExitStatus, Stdio}; diff --git a/tests/common/mod.rs b/tests/common/mod.rs index f73cd42af..05e2b1382 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. #[macro_use] pub mod macros; pub mod random; diff --git a/tests/fixtures/install/helloworld.rs b/tests/fixtures/install/helloworld.rs index 47ad8c634..bb2a816fc 100644 --- a/tests/fixtures/install/helloworld.rs +++ b/tests/fixtures/install/helloworld.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. fn main() { println!("Hello World!"); } diff --git a/tests/test_util_name.rs b/tests/test_util_name.rs index bf0ea2fa3..45edc7dc7 100644 --- a/tests/test_util_name.rs +++ b/tests/test_util_name.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. #![allow(unused_imports)] mod common; diff --git a/tests/tests.rs b/tests/tests.rs index 02c3bfdab..8d4a6855c 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -1,3 +1,7 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. #[macro_use] mod common;