mirror of
https://github.com/uutils/coreutils
synced 2024-09-06 16:03:44 +00:00
Add license headers on all files
This commit is contained in:
parent
682f488720
commit
bfca6bf70f
|
@ -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 super::{CatResult, FdReadable, InputHandle};
|
||||||
|
|
||||||
use nix::unistd;
|
use nix::unistd;
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (vars) RFILE
|
||||||
#![allow(clippy::upper_case_acronyms)]
|
#![allow(clippy::upper_case_acronyms)]
|
||||||
|
|
||||||
|
|
|
@ -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::ffi::OsString;
|
||||||
use std::fmt::Write;
|
use std::fmt::Write;
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
|
@ -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::ffi::{CStr, CString, OsStr};
|
||||||
use std::marker::PhantomData;
|
use std::marker::PhantomData;
|
||||||
use std::os::raw::{c_int, c_long, c_short};
|
use std::os::raw::{c_int, c_long, c_short};
|
||||||
|
|
|
@ -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"]
|
#![crate_name = "uu_csplit"]
|
||||||
// spell-checker:ignore rustdoc
|
// spell-checker:ignore rustdoc
|
||||||
#![allow(rustdoc::private_intra_doc_links)]
|
#![allow(rustdoc::private_intra_doc_links)]
|
||||||
|
|
|
@ -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 std::io;
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
|
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (regex) SKIPTO UPTO ; (vars) ntimes
|
||||||
|
|
||||||
use crate::csplit_error::CsplitError;
|
use crate::csplit_error::CsplitError;
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (regex) diuox
|
||||||
|
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
|
|
|
@ -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
|
// 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::*;
|
use super::*;
|
||||||
|
|
|
@ -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
|
// 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
|
pub const INTERNAL_DB: &str = r#"# Configuration file for dircolors, a utility to help you set the
|
||||||
|
|
|
@ -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.
|
//! Take all but the last elements of an iterator.
|
||||||
use std::io::Read;
|
use std::io::Read;
|
||||||
|
|
||||||
|
|
|
@ -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::fs;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
#[cfg(not(windows))]
|
#[cfg(not(windows))]
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (path) osrelease
|
||||||
|
|
||||||
use libc::{mode_t, S_IRGRP, S_IROTH, S_IRUSR, S_IWGRP, S_IWOTH, S_IWUSR};
|
use libc::{mode_t, S_IRGRP, S_IROTH, S_IRUSR, S_IWGRP, S_IWOTH, S_IWUSR};
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (ToDO) conv
|
||||||
|
|
||||||
use crate::options;
|
use crate::options;
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore powf
|
||||||
use uucore::display::Quotable;
|
use uucore::display::Quotable;
|
||||||
|
|
||||||
|
|
|
@ -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 std::str::FromStr;
|
||||||
|
|
||||||
use crate::units::Unit;
|
use crate::units::Unit;
|
||||||
|
|
|
@ -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;
|
use std::fmt;
|
||||||
|
|
||||||
pub const SI_BASES: [f64; 10] = [1., 1e3, 1e6, 1e9, 1e12, 1e15, 1e18, 1e21, 1e24, 1e27];
|
pub const SI_BASES: [f64; 10] = [1., 1e3, 1e6, 1e9, 1e12, 1e15, 1e18, 1e21, 1e24, 1e27];
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (ToDO) byteorder
|
||||||
|
|
||||||
// workaround until https://github.com/BurntSushi/byteorder/issues/41 has been fixed
|
// workaround until https://github.com/BurntSushi/byteorder/issues/41 has been fixed
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (ToDO) formatteriteminfo
|
||||||
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
|
@ -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 half::f16;
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
||||||
|
|
|
@ -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)]
|
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
|
||||||
pub enum Radix {
|
pub enum Radix {
|
||||||
Decimal,
|
Decimal,
|
||||||
|
|
|
@ -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
|
// https://github.com/lazy-bitfield/rust-mockstream/pull/2
|
||||||
|
|
||||||
use std::io::{Cursor, Error, ErrorKind, Read, Result};
|
use std::io::{Cursor, Error, ErrorKind, Read, Result};
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (ToDO) multifile curr fnames fname xfrd fillloop mockstream
|
||||||
|
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore formatteriteminfo blocksize thisblock
|
||||||
|
|
||||||
use std::cmp;
|
use std::cmp;
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore formatteriteminfo docopt fvox fvoxw vals acdx
|
||||||
|
|
||||||
use uucore::display::Quotable;
|
use uucore::display::Quotable;
|
||||||
|
|
|
@ -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 super::options;
|
||||||
use clap::ArgMatches;
|
use clap::ArgMatches;
|
||||||
|
|
||||||
|
|
|
@ -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};
|
use uucore::parse_size::{parse_size, ParseSizeError};
|
||||||
|
|
||||||
pub fn parse_number_of_bytes(s: &str) -> Result<u64, ParseSizeError> {
|
pub fn parse_number_of_bytes(s: &str) -> Result<u64, ParseSizeError> {
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore mockstream abcdefgh bcdefgh
|
||||||
|
|
||||||
use std::cmp;
|
use std::cmp;
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (ToDO) tempbuffer abcdefgh abcdefghij
|
||||||
|
|
||||||
//! Contains the trait `PeekRead` and type `PeekReader` implementing it.
|
//! Contains the trait `PeekRead` and type `PeekReader` implementing it.
|
||||||
|
|
|
@ -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 std::str::from_utf8;
|
||||||
|
|
||||||
use crate::formatteriteminfo::{FormatWriter, FormatterItemInfo};
|
use crate::formatteriteminfo::{FormatWriter, FormatterItemInfo};
|
||||||
|
|
|
@ -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 half::f16;
|
||||||
use std::f32;
|
use std::f32;
|
||||||
use std::f64;
|
use std::f64;
|
||||||
|
|
|
@ -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::*;
|
use crate::formatteriteminfo::*;
|
||||||
|
|
||||||
/// format string to print octal using `int_writer_unsigned`
|
/// format string to print octal using `int_writer_unsigned`
|
||||||
|
|
|
@ -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;
|
mod cli;
|
||||||
|
|
|
@ -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)]
|
#![allow(dead_code)]
|
||||||
// spell-checker:ignore (change!) each's
|
// spell-checker:ignore (change!) each's
|
||||||
// spell-checker:ignore (ToDO) LONGHELP FORMATSTRING templating parameterizing formatstr
|
// spell-checker:ignore (ToDO) LONGHELP FORMATSTRING templating parameterizing formatstr
|
||||||
|
|
|
@ -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::ffi::OsString;
|
||||||
use std::fmt::{Display, Formatter, Write};
|
use std::fmt::{Display, Formatter, Write};
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (vars) RFILE
|
||||||
|
|
||||||
use clap::builder::ValueParser;
|
use clap::builder::ValueParser;
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore bigdecimal extendedbigdecimal extendedbigint
|
||||||
//! An arbitrary precision float that can also represent infinity, NaN, etc.
|
//! An arbitrary precision float that can also represent infinity, NaN, etc.
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore bigint extendedbigint extendedbigdecimal
|
||||||
//! An arbitrary precision integer that can also represent infinity, NaN, etc.
|
//! An arbitrary precision integer that can also represent infinity, NaN, etc.
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore extendedbigdecimal extendedbigint
|
||||||
//! A type to represent the possible start, increment, and end values for seq.
|
//! A type to represent the possible start, increment, and end values for seq.
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore extendedbigdecimal extendedbigint bigdecimal numberparse
|
||||||
//! Parsing numbers for use in `seq`.
|
//! Parsing numbers for use in `seq`.
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -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 2018 Developers of the Rand project.
|
||||||
// Copyright 2013 The Rust Project Developers.
|
// Copyright 2013 The Rust Project Developers.
|
||||||
//
|
//
|
||||||
|
|
|
@ -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.
|
//! Merge already sorted files.
|
||||||
//!
|
//!
|
||||||
//! We achieve performance by splitting the tasks of sorting and writing, and reading and parsing between two threads.
|
//! We achieve performance by splitting the tasks of sorting and writing, and reading and parsing between two threads.
|
||||||
|
|
|
@ -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::{
|
use std::{
|
||||||
fs::File,
|
fs::File,
|
||||||
path::{Path, PathBuf},
|
path::{Path, PathBuf},
|
||||||
|
|
|
@ -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)]
|
#[cfg(unix)]
|
||||||
pub use self::unix::instantiate_current_writer;
|
pub use self::unix::instantiate_current_writer;
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
|
|
|
@ -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::env;
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
use std::io::{BufWriter, Error, ErrorKind, Result};
|
use std::io::{BufWriter, Error, ErrorKind, Result};
|
||||||
|
|
|
@ -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::Write;
|
||||||
use std::io::{BufWriter, Error, ErrorKind, Result};
|
use std::io::{BufWriter, Error, ErrorKind, Result};
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (ToDO) dylib libstdbuf deps liblibstdbuf
|
||||||
|
|
||||||
use std::env;
|
use std::env;
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (ToDO) libstdbuf
|
||||||
|
|
||||||
use cpp_build::Config;
|
use cpp_build::Config;
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (ToDO) IOFBF IOLBF IONBF cstdio setvbuf
|
||||||
|
|
||||||
use cpp::cpp;
|
use cpp::cpp;
|
||||||
|
|
|
@ -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
|
/// Represents an error encountered while parsing a test expression
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub enum ParseError {
|
pub enum ParseError {
|
||||||
|
|
|
@ -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 crate::word_count::WordCount;
|
||||||
|
|
||||||
use super::WordCountable;
|
use super::WordCountable;
|
||||||
|
|
|
@ -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.
|
//! Traits and implementations for iterating over lines in a file-like object.
|
||||||
//!
|
//!
|
||||||
//! This module provides a [`WordCountable`] trait and implementations
|
//! This module provides a [`WordCountable`] trait and implementations
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore Sapin
|
||||||
mod read;
|
mod read;
|
||||||
|
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore bytestream
|
||||||
use super::*;
|
use super::*;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
|
|
|
@ -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::cmp::max;
|
||||||
use std::ops::{Add, AddAssign};
|
use std::ops::{Add, AddAssign};
|
||||||
|
|
||||||
|
|
|
@ -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.
|
//! 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,
|
//! This does not always work. We're not allowed to splice to some targets,
|
||||||
|
|
|
@ -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)
|
// features ~ feature-gated modules (core/bundler file)
|
||||||
|
|
||||||
#[cfg(feature = "encoding")]
|
#[cfg(feature = "encoding")]
|
||||||
|
|
|
@ -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.
|
//! Main entry point for our implementation of printf.
|
||||||
//!
|
//!
|
||||||
//! The [`printf`] and [`sprintf`] closely match the behavior of the
|
//! The [`printf`] and [`sprintf`] closely match the behavior of the
|
||||||
|
|
|
@ -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.
|
/// Thin pipe-related wrappers around functions from the `nix` crate.
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
#[cfg(any(target_os = "linux", target_os = "android"))]
|
#[cfg(any(target_os = "linux", target_os = "android"))]
|
||||||
|
|
|
@ -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.
|
//! A fixed-size ring buffer.
|
||||||
use std::collections::VecDeque;
|
use std::collections::VecDeque;
|
||||||
|
|
||||||
|
|
|
@ -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)]
|
#[allow(clippy::module_inception)]
|
||||||
mod num_format;
|
mod num_format;
|
||||||
pub mod sub;
|
pub mod sub;
|
||||||
|
|
|
@ -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 (vars) charf decf floatf intf scif strf Cninety
|
||||||
|
|
||||||
//! Primitives used by Sub Tokenizer
|
//! Primitives used by Sub Tokenizer
|
||||||
|
|
|
@ -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.
|
//! Primitives used by num_format and sub_modules.
|
||||||
//! never dealt with above (e.g. Sub Tokenizer never uses these)
|
//! never dealt with above (e.g. Sub Tokenizer never uses these)
|
||||||
|
|
||||||
|
|
|
@ -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
|
// 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<u8> {
|
pub fn arrnum_int_mult(arr_num: &[u8], basenum: u8, base_ten_int_fact: u8) -> Vec<u8> {
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (ToDO) arrnum mult
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|
|
@ -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 (vars) charf decf floatf intf scif strf Cninety
|
||||||
// spell-checker:ignore (ToDO) arrnum
|
// spell-checker:ignore (ToDO) arrnum
|
||||||
|
|
||||||
|
|
|
@ -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 (vars) charf decf floatf intf scif strf Cninety
|
||||||
|
|
||||||
//! formatter for %g %G decimal subs
|
//! formatter for %g %G decimal subs
|
||||||
|
|
|
@ -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 (vars) charf decf floatf intf scif strf Cninety
|
||||||
// spell-checker:ignore (ToDO) arrnum
|
// spell-checker:ignore (ToDO) arrnum
|
||||||
|
|
||||||
|
|
|
@ -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 (vars) charf decf floatf intf scif strf Cninety
|
||||||
// spell-checker:ignore (ToDO) arrnum
|
// spell-checker:ignore (ToDO) arrnum
|
||||||
|
|
||||||
|
|
|
@ -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 (vars) charf decf floatf intf scif strf Cninety
|
||||||
// spell-checker:ignore (ToDO) arrnum
|
// spell-checker:ignore (ToDO) arrnum
|
||||||
|
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (vars) charf cninetyninehexfloatf decf floatf intf scif strf Cninety
|
||||||
|
|
||||||
mod base_conv;
|
mod base_conv;
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (vars) charf cninetyninehexfloatf decf floatf intf scif strf Cninety
|
||||||
|
|
||||||
//! formatter for %e %E scientific notation subs
|
//! formatter for %e %E scientific notation subs
|
||||||
|
|
|
@ -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;
|
pub mod format_field;
|
||||||
mod formatter;
|
mod formatter;
|
||||||
mod formatters;
|
mod formatters;
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (vars) charf cninetyninehexfloatf decf floatf intf scif strf Cninety
|
||||||
|
|
||||||
//! handles creating printed output for numeric substitutions
|
//! handles creating printed output for numeric substitutions
|
||||||
|
|
|
@ -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 (vars) charf decf floatf intf scif strf Cninety
|
||||||
|
|
||||||
//! Sub is a token that represents a
|
//! Sub is a token that represents a
|
||||||
|
|
|
@ -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
|
//! Traits and enums dealing with Tokenization of printf Format String
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
use std::iter::Peekable;
|
use std::iter::Peekable;
|
||||||
|
|
|
@ -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
|
//! UnescapedText is a tokenizer impl
|
||||||
//! for tokenizing character literals,
|
//! for tokenizing character literals,
|
||||||
//! and escaped character literals (of allowed escapes),
|
//! and escaped character literals (of allowed escapes),
|
||||||
|
|
|
@ -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)
|
// library ~ (core/bundler file)
|
||||||
|
|
||||||
// Copyright (C) ~ Alex Lyon <arcterus@mail.com>
|
// Copyright (C) ~ Alex Lyon <arcterus@mail.com>
|
||||||
|
|
|
@ -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)
|
// mods ~ cross-platforms modules (core/bundler file)
|
||||||
|
|
||||||
pub mod backup_control;
|
pub mod backup_control;
|
||||||
|
|
|
@ -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.
|
//! Implement GNU-style backup functionality.
|
||||||
//!
|
//!
|
||||||
//! This module implements the backup functionality as described in the [GNU
|
//! This module implements the backup functionality as described in the [GNU
|
||||||
|
|
|
@ -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
|
/// Utilities for printing paths, with special attention paid to special
|
||||||
/// characters and invalid unicode.
|
/// characters and invalid unicode.
|
||||||
///
|
///
|
||||||
|
|
|
@ -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
|
// TODO fix broken links
|
||||||
#![allow(rustdoc::broken_intra_doc_links)]
|
#![allow(rustdoc::broken_intra_doc_links)]
|
||||||
//! All utils return exit with an exit code. Usually, the following scheme is used:
|
//! All utils return exit with an exit code. Usually, the following scheme is used:
|
||||||
|
|
|
@ -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.
|
//! Provides consistent newline/zero terminator handling for `-z`/`--zero` flags.
|
||||||
//!
|
//!
|
||||||
//! See the [`LineEnding`] struct for more information.
|
//! See the [`LineEnding`] struct for more information.
|
||||||
|
|
|
@ -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
|
/// Test if the program is running under WSL
|
||||||
// ref: <https://github.com/microsoft/WSL/issues/4555> @@ <https://archive.is/dP0bz>
|
// ref: <https://github.com/microsoft/WSL/issues/4555> @@ <https://archive.is/dP0bz>
|
||||||
|
|
||||||
|
|
|
@ -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.
|
//! Custom panic hooks that allow silencing certain types of errors.
|
||||||
//!
|
//!
|
||||||
//! Use the [`mute_sigpipe_panic`] function to silence panics caused by
|
//! Use the [`mute_sigpipe_panic`] function to silence panics caused by
|
||||||
|
|
|
@ -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::char::from_digit;
|
||||||
use std::ffi::OsStr;
|
use std::ffi::OsStr;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
use std::cmp::Ordering;
|
||||||
|
|
||||||
/// Compares the non-digit parts of a version.
|
/// Compares the non-digit parts of a version.
|
||||||
|
|
|
@ -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_glob;
|
||||||
pub mod parse_size;
|
pub mod parse_size;
|
||||||
pub mod parse_time;
|
pub mod parse_time;
|
||||||
|
|
|
@ -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.
|
//! Parsing a glob Pattern from a string.
|
||||||
//!
|
//!
|
||||||
//! Use the [`from_str`] function to parse a [`Pattern`] from a string.
|
//! Use the [`from_str`] function to parse a [`Pattern`] from a string.
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore abcdefgh
|
||||||
use clap::{
|
use clap::{
|
||||||
builder::{PossibleValue, TypedValueParser},
|
builder::{PossibleValue, TypedValueParser},
|
||||||
|
|
|
@ -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 <rivy.dev@gmail.com>; MIT license
|
// Copyright (C) ~ Roy Ivy III <rivy.dev@gmail.com>; MIT license
|
||||||
// spell-checker:ignore backticks uuhelp
|
// spell-checker:ignore backticks uuhelp
|
||||||
|
|
||||||
|
|
|
@ -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 criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
|
||||||
use uu_factor::numeric;
|
use uu_factor::numeric;
|
||||||
|
|
||||||
|
|
|
@ -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 array_init::array_init;
|
||||||
use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput};
|
use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput};
|
||||||
use uu_factor::{table::*, Factors};
|
use uu_factor::{table::*, Factors};
|
||||||
|
|
|
@ -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 crate::common::util::TestScenario;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -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 crate::common::util::TestScenario;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (words) reallylongexecutable
|
||||||
|
|
||||||
use crate::common::util::TestScenario;
|
use crate::common::util::TestScenario;
|
||||||
|
|
|
@ -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 crate::common::util::TestScenario;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore NOFILE
|
||||||
|
|
||||||
#[cfg(not(windows))]
|
#[cfg(not(windows))]
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (jargon) xattributes
|
||||||
|
|
||||||
#![cfg(feature = "feat_selinux")]
|
#![cfg(feature = "feat_selinux")]
|
||||||
|
|
|
@ -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
|
// spell-checker:ignore (words) nosuchgroup groupname
|
||||||
|
|
||||||
use crate::common::util::TestScenario;
|
use crate::common::util::TestScenario;
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue