1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 11:07:44 +00:00

all: normalize license notice in all *.rs files

This commit is contained in:
Terts Diepraam 2023-08-24 12:07:48 +02:00
parent 3fc36ee3cf
commit c3f9e19a3b
163 changed files with 611 additions and 618 deletions

View file

@ -1,3 +1,8 @@
// 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) krate // spell-checker:ignore (vars) krate
use std::env; use std::env;

View file

@ -1,7 +1,7 @@
// This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// //
// For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// that was distributed with this source code. // file that was distributed with this source code.
use std::io::{stdin, Read}; use std::io::{stdin, Read};

View file

@ -1,7 +1,7 @@
// This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// //
// For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// that was distributed with this source code. // file that was distributed with this source code.
use std::io::{stdout, Read, Write}; use std::io::{stdout, Read, Write};

View file

@ -1,7 +1,7 @@
// This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// //
// For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// that was distributed with this source code. // file that was distributed with this source code.
use uu_base32::base_common; use uu_base32::base_common;
pub use uu_base32::uu_app; pub use uu_base32::uu_app;

View file

@ -1,7 +1,7 @@
// This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// //
// For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// that was distributed with this source code. // file that was distributed with this source code.
//spell-checker:ignore (args) lsbf msbf //spell-checker:ignore (args) lsbf msbf

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore NEWROOT Userspec userspec // spell-checker:ignore NEWROOT Userspec userspec
//! Errors returned by chroot. //! Errors returned by chroot.
use std::fmt::Display; use std::fmt::Display;

View file

@ -1,6 +1,6 @@
// This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// //
// For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) fname, algo // spell-checker:ignore (ToDO) fname, algo

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore TODO canonicalizes direntry pathbuf symlinked // spell-checker:ignore TODO canonicalizes direntry pathbuf symlinked
//! Recursively copy the contents of a directory. //! Recursively copy the contents of a directory.
//! //!

View file

@ -1,12 +1,10 @@
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::extra_unused_lifetimes)]
// This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// //
// For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) copydir ficlone fiemap ftruncate linkgs lstat nlink nlinks pathbuf pwrite reflink strs xattrs symlinked deduplicated advcpmv nushell // spell-checker:ignore (ToDO) copydir ficlone fiemap ftruncate linkgs lstat nlink nlinks pathbuf pwrite reflink strs xattrs symlinked deduplicated advcpmv nushell
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::extra_unused_lifetimes)]
use quick_error::quick_error; use quick_error::quick_error;
use std::borrow::Cow; use std::borrow::Cow;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore ficlone reflink ftruncate pwrite fiemap // spell-checker:ignore ficlone reflink ftruncate pwrite fiemap
use std::fs::{File, OpenOptions}; use std::fs::{File, OpenOptions};
use std::io::Read; use std::io::Read;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore reflink // spell-checker:ignore reflink
use std::ffi::CString; use std::ffi::CString;
use std::fs::{self, File}; use std::fs::{self, File};

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
mod macos; mod macos;
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore reflink // spell-checker:ignore reflink
use std::fs; use std::fs;
use std::path::Path; use std::path::Path;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore datastructures rstat rposition cflags ctable // spell-checker:ignore datastructures rstat rposition cflags ctable

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
/// Functions for formatting a number as a magnitude and a unit suffix. /// Functions for formatting a number as a magnitude and a unit suffix.
/// The first ten powers of 1024. /// The first ten powers of 1024.

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore btotal sigval // spell-checker:ignore btotal sigval
//! Read and write progress tracking for dd. //! Read and write progress tracking for dd.
//! //!

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
//! Types for representing and displaying block sizes. //! Types for representing and displaying block sizes.
use crate::{OPT_BLOCKSIZE, OPT_PORTABILITY}; use crate::{OPT_BLOCKSIZE, OPT_PORTABILITY};
use clap::ArgMatches; use clap::ArgMatches;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore itotal iused iavail ipcent pcent squashfs // spell-checker:ignore itotal iused iavail ipcent pcent squashfs
use crate::{OPT_INODES, OPT_OUTPUT, OPT_PRINT_TYPE}; use crate::{OPT_INODES, OPT_OUTPUT, OPT_PRINT_TYPE};
use clap::{parser::ValueSource, ArgMatches}; use clap::{parser::ValueSource, ArgMatches};

View file

@ -1,7 +1,7 @@
// This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// //
// For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore itotal iused iavail ipcent pcent tmpfs squashfs lofs // spell-checker:ignore itotal iused iavail ipcent pcent tmpfs squashfs lofs
mod blocks; mod blocks;
mod columns; mod columns;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
//! Provides a summary representation of a filesystem. //! Provides a summary representation of a filesystem.
//! //!
//! A [`Filesystem`] struct represents a device containing a //! A [`Filesystem`] struct represents a device containing a

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore tmpfs Pcent Itotal Iused Iavail Ipcent // spell-checker:ignore tmpfs Pcent Itotal Iused Iavail Ipcent
//! The filesystem usage data table. //! The filesystem usage data table.
//! //!

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
use clap::Command; use clap::Command;
use std::ffi::OsString; use std::ffi::OsString;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
use chrono::prelude::DateTime; use chrono::prelude::DateTime;
use chrono::Local; use chrono::Local;

View file

@ -1,6 +1,5 @@
// This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// //
//
// For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code. // file that was distributed with this source code.

View file

@ -1,7 +1,7 @@
//* This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
//* //
//* For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
//* file that was distributed with this source code. // file that was distributed with this source code.
use clap::{crate_version, Arg, ArgAction, Command}; use clap::{crate_version, Arg, ArgAction, Command};
use uucore::{ use uucore::{

View file

@ -1,7 +1,7 @@
//* This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
//* //
//* For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
//* file that was distributed with this source code. // file that was distributed with this source code.
//! //!
//! Here we employ shunting-yard algorithm for building AST from tokens according to operators' precedence and associative-ness. //! Here we employ shunting-yard algorithm for building AST from tokens according to operators' precedence and associative-ness.

View file

@ -1,7 +1,7 @@
//* This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
//* //
//* For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
//* file that was distributed with this source code. // file that was distributed with this source code.
//! //!
//! The following tokens are present in the expr grammar: //! The following tokens are present in the expr grammar:

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
//! Generate a table of the multiplicative inverses of p_i mod 2^64 //! Generate a table of the multiplicative inverses of p_i mod 2^64
//! for the first 1027 odd primes (all 13 bit and smaller primes). //! for the first 1027 odd primes (all 13 bit and smaller primes).

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) filts, minidx, minkey paridx // spell-checker:ignore (ToDO) filts, minidx, minkey paridx

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
use std::error::Error; use std::error::Error;
use std::fmt::Write as FmtWrite; use std::fmt::Write as FmtWrite;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
use smallvec::SmallVec; use smallvec::SmallVec;
use std::cell::RefCell; use std::cell::RefCell;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (URL) appspot // spell-checker:ignore (URL) appspot

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (vars) kgcdab gcdac gcdbc // spell-checker:ignore (vars) kgcdab gcdac gcdbc

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
mod gcd; mod gcd;
pub use gcd::gcd; pub use gcd::gcd;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
use super::traits::Int; use super::traits::Int;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
use super::*; use super::*;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
pub(crate) use num_traits::{ pub(crate) use num_traits::{
identities::{One, Zero}, identities::{One, Zero},

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
use rand::distributions::{Distribution, Uniform}; use rand::distributions::{Distribution, Uniform};
use rand::rngs::SmallRng; use rand::rngs::SmallRng;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
// spell-checker: ignore (ToDO) INVS // spell-checker: ignore (ToDO) INVS

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
use clap::{Arg, ArgAction, Command}; use clap::{Arg, ArgAction, Command};
use std::{ffi::OsString, io::Write}; use std::{ffi::OsString, io::Write};
use uucore::error::{set_exit_code, UResult}; use uucore::error::{set_exit_code, UResult};

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) PSKIP linebreak ostream parasplit tabwidth xanti xprefix // spell-checker:ignore (ToDO) PSKIP linebreak ostream parasplit tabwidth xanti xprefix

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) INFTY MULT accum breakwords linebreak linebreaking linebreaks linelen maxlength minlength nchars ostream overlen parasplit plass posn powf punct signum slen sstart tabwidth tlen underlen winfo wlen wordlen // spell-checker:ignore (ToDO) INFTY MULT accum breakwords linebreak linebreaking linebreaks linelen maxlength minlength nchars ostream overlen parasplit plass posn powf punct signum slen sstart tabwidth tlen underlen winfo wlen wordlen

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) INFTY MULT PSKIP accum aftertab beforetab breakwords fmt's formatline linebreak linebreaking linebreaks linelen maxlength minlength nchars noformat noformatline ostream overlen parasplit pfxind plass pmatch poffset posn powf prefixindent punct signum slen sstart tabwidth tlen underlen winfo wlen wordlen wordsplits xanti xprefix // spell-checker:ignore (ToDO) INFTY MULT PSKIP accum aftertab beforetab breakwords fmt's formatline linebreak linebreaking linebreaks linelen maxlength minlength nchars noformat noformatline ostream overlen parasplit pfxind plass pmatch poffset posn powf prefixindent punct signum slen sstart tabwidth tlen underlen winfo wlen wordlen wordsplits xanti xprefix

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDOs) ncount routput // spell-checker:ignore (ToDOs) ncount routput

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) algo, algoname, regexes, nread, nonames // spell-checker:ignore (ToDO) algo, algoname, regexes, nread, nonames

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (vars) zlines BUFWRITER seekable // spell-checker:ignore (vars) zlines BUFWRITER seekable

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
use std::ffi::OsString; use std::ffi::OsString;
use uucore::parse_size::{parse_size, ParseSizeError}; use uucore::parse_size::{parse_size, ParseSizeError};

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) gethostid // spell-checker:ignore (ToDO) gethostid

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) MAKEWORD addrs hashset // spell-checker:ignore (ToDO) MAKEWORD addrs hashset

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) rwxr sourcepath targetpath Isnt uioerror // spell-checker:ignore (ToDO) rwxr sourcepath targetpath Isnt uioerror

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) autoformat FILENUM whitespaces pairable unpairable nocheck // spell-checker:ignore (ToDO) autoformat FILENUM whitespaces pairable unpairable nocheck

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) signalname pids killpg // spell-checker:ignore (ToDO) signalname pids killpg

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
use clap::builder::ValueParser; use clap::builder::ValueParser;
use clap::{crate_version, Arg, Command}; use clap::{crate_version, Arg, Command};
use std::ffi::OsString; use std::ffi::OsString;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) srcpath targetpath EEXIST // spell-checker:ignore (ToDO) srcpath targetpath EEXIST

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
/* last synced with: logname (GNU coreutils) 8.22 */ /* last synced with: logname (GNU coreutils) 8.22 */

View file

@ -1,7 +1,7 @@
// This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// //
// For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) cpio svgz webm somegroup nlink rmvb xspf tabsize dired // spell-checker:ignore (ToDO) cpio svgz webm somegroup nlink rmvb xspf tabsize dired

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) ugoa cmode // spell-checker:ignore (ToDO) ugoa cmode

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
use clap::{crate_version, Arg, ArgAction, Command}; use clap::{crate_version, Arg, ArgAction, Command};
use libc::mkfifo; use libc::mkfifo;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (methods) isnt // spell-checker:ignore (methods) isnt

View file

@ -1,7 +1,7 @@
// This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// //
// For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// that was distributed with this source code. // file that was distributed with this source code.
use std::error::Error; use std::error::Error;
use std::fmt::{Display, Formatter, Result}; use std::fmt::{Display, Formatter, Result};

View file

@ -1,7 +1,7 @@
// This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// //
// For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) sourcepath targetpath // spell-checker:ignore (ToDO) sourcepath targetpath

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) getpriority execvp setpriority nstr PRIO cstrs ENOENT // spell-checker:ignore (ToDO) getpriority execvp setpriority nstr PRIO cstrs ENOENT

View file

@ -1,8 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// *
use clap::{crate_version, Arg, ArgAction, Command}; use clap::{crate_version, Arg, ArgAction, Command};
use std::fs::File; use std::fs::File;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) execvp SIGHUP cproc vprocmgr cstrs homeout // spell-checker:ignore (ToDO) execvp SIGHUP cproc vprocmgr cstrs homeout

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) NPROCESSORS nprocs numstr threadstr sysconf // spell-checker:ignore (ToDO) NPROCESSORS nprocs numstr threadstr sysconf

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
use std::{ use std::{
error::Error, error::Error,

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
use crate::errors::*; use crate::errors::*;
use crate::format::format_and_print; use crate::format::format_and_print;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (clap) dont // spell-checker:ignore (clap) dont
// spell-checker:ignore (ToDO) formatteriteminfo inputdecoder inputoffset mockstream nrofbytes partialreader odfunc multifile exitcode // spell-checker:ignore (ToDO) formatteriteminfo inputdecoder inputoffset mockstream nrofbytes partialreader odfunc multifile exitcode

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) delim // spell-checker:ignore (ToDO) delim

View file

@ -1,10 +1,9 @@
// 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_must_use)] // because we of writeln! #![allow(unused_must_use)] // because we of writeln!
// * 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) lstat // spell-checker:ignore (ToDO) lstat
use clap::{crate_version, Arg, ArgAction, Command}; use clap::{crate_version, Arg, ArgAction, Command};
use std::fs; use std::fs;

View file

@ -1,7 +1,7 @@
// This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// //
// For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// that was distributed with this source code. // file that was distributed with this source code.
// //
// spell-checker:ignore (ToDO) adFfmprt, kmerge // spell-checker:ignore (ToDO) adFfmprt, kmerge

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
/* last synced with: printenv (GNU coreutils) 8.13 */ /* last synced with: printenv (GNU coreutils) 8.13 */

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDOs) corasick memchr Roff trunc oset iset CHARCLASS // spell-checker:ignore (ToDOs) corasick memchr Roff trunc oset iset CHARCLASS

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
use clap::ArgAction; use clap::ArgAction;
use clap::{crate_version, Arg, Command}; use clap::{crate_version, Arg, Command};

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) errno // spell-checker:ignore (ToDO) errno

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) retcode // spell-checker:ignore (ToDO) retcode

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) subpath absto absfrom absbase // spell-checker:ignore (ToDO) subpath absto absfrom absbase

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (path) eacces // spell-checker:ignore (path) eacces

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) ENOTDIR // spell-checker:ignore (ToDO) ENOTDIR

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore numberparse // spell-checker:ignore numberparse
//! Errors returned by seq. //! Errors returned by seq.
use std::error::Error; use std::error::Error;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) istr chiter argptr ilen extendedbigdecimal extendedbigint numberparse // spell-checker:ignore (ToDO) istr chiter argptr ilen extendedbigdecimal extendedbigint numberparse
use std::io::{stdout, ErrorKind, Write}; use std::io::{stdout, ErrorKind, Write};
use std::process::exit; use std::process::exit;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (words) wipesync prefill // spell-checker:ignore (words) wipesync prefill

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) cmdline evec seps rvec fdata // spell-checker:ignore (ToDO) cmdline evec seps rvec fdata

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
use std::thread; use std::thread;
use std::time::Duration; use std::time::Duration;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
//! Check if a file is ordered //! Check if a file is ordered

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
//! Utilities for reading files as chunks. //! Utilities for reading files as chunks.

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
//! Custom string comparisons. //! Custom string comparisons.
//! //!

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
//! Sort big files by using auxiliary files for storing intermediate chunks. //! Sort big files by using auxiliary files for storing intermediate chunks.
//! //!

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
//! Fast comparison for strings representing a base 10 number without precision loss. //! Fast comparison for strings representing a base 10 number without precision loss.
//! //!

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// Although these links don't always seem to describe reality, check out the POSIX and GNU specs: // Although these links don't always seem to describe reality, check out the POSIX and GNU specs:
// https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sort.html // https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sort.html

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore zaaa zaab // spell-checker:ignore zaaa zaab
//! Compute filenames from a given index. //! Compute filenames from a given index.
//! //!

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore zaaa zaab // spell-checker:ignore zaaa zaab
//! A number in arbitrary radix expressed in a positional notation. //! A number in arbitrary radix expressed in a positional notation.
//! //!

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore nbbbb ncccc // spell-checker:ignore nbbbb ncccc

View file

@ -1,7 +1,7 @@
// This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// //
// For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// that was distributed with this source code. // file that was distributed with this source code.
use clap::builder::ValueParser; use clap::builder::ValueParser;
use uucore::display::Quotable; use uucore::display::Quotable;

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) tempdir dyld dylib dragonflybsd optgrps libstdbuf // spell-checker:ignore (ToDO) tempdir dyld dylib dragonflybsd optgrps libstdbuf

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore parenb parodd cmspar hupcl cstopb cread clocal crtscts CSIZE // spell-checker:ignore parenb parodd cmspar hupcl cstopb cread clocal crtscts CSIZE
// spell-checker:ignore ignbrk brkint ignpar parmrk inpck istrip inlcr igncr icrnl ixoff ixon iuclc ixany imaxbel iutf // spell-checker:ignore ignbrk brkint ignpar parmrk inpck istrip inlcr igncr icrnl ixoff ixon iuclc ixany imaxbel iutf

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore clocal erange tcgetattr tcsetattr tcsanow tiocgwinsz tiocswinsz cfgetospeed cfsetospeed ushort vmin vtime // spell-checker:ignore clocal erange tcgetattr tcsetattr tcsanow tiocgwinsz tiocswinsz cfgetospeed cfsetospeed ushort vmin vtime

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE file // For the full copyright and license information, please view the LICENSE
// * that was distributed with this source code. // file that was distributed with this source code.
// spell-checker:ignore (ToDO) sysv // spell-checker:ignore (ToDO) sysv

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
/* Last synced with: sync (GNU coreutils) 8.13 */ /* Last synced with: sync (GNU coreutils) 8.13 */

View file

@ -1,7 +1,7 @@
// * This file is part of the uutils coreutils package. // This file is part of the uutils coreutils package.
// * //
// * For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// * file that was distributed with this source code. // file that was distributed with this source code.
//! Errors returned by tac during processing of a file. //! Errors returned by tac during processing of a file.
use std::error::Error; use std::error::Error;
use std::fmt::Display; use std::fmt::Display;

Some files were not shown because too many files have changed in this diff Show more