From c3f9e19a3bc8c254015239670e562d2a60d67d74 Mon Sep 17 00:00:00 2001 From: Terts Diepraam Date: Thu, 24 Aug 2023 12:07:48 +0200 Subject: [PATCH] all: normalize license notice in all *.rs files --- build.rs | 5 +++++ src/uu/base32/src/base32.rs | 4 ++-- src/uu/base32/src/base_common.rs | 4 ++-- src/uu/base64/src/base64.rs | 4 ++-- src/uu/basenc/src/basenc.rs | 4 ++-- src/uu/chroot/src/error.rs | 8 ++++---- src/uu/cksum/src/cksum.rs | 2 +- src/uu/cp/src/copydir.rs | 8 ++++---- src/uu/cp/src/cp.rs | 10 ++++------ src/uu/cp/src/platform/linux.rs | 8 ++++---- src/uu/cp/src/platform/macos.rs | 8 ++++---- src/uu/cp/src/platform/mod.rs | 8 ++++---- src/uu/cp/src/platform/other.rs | 8 ++++---- src/uu/dd/src/blocks.rs | 8 ++++---- src/uu/dd/src/numbers.rs | 8 ++++---- src/uu/dd/src/progress.rs | 8 ++++---- src/uu/df/src/blocks.rs | 8 ++++---- src/uu/df/src/columns.rs | 8 ++++---- src/uu/df/src/df.rs | 4 ++-- src/uu/df/src/filesystem.rs | 8 ++++---- src/uu/df/src/table.rs | 8 ++++---- src/uu/dir/src/dir.rs | 8 ++++---- src/uu/du/src/du.rs | 8 ++++---- src/uu/expand/src/expand.rs | 1 - src/uu/expr/src/expr.rs | 8 ++++---- src/uu/expr/src/syntax_tree.rs | 8 ++++---- src/uu/expr/src/tokens.rs | 8 ++++---- src/uu/factor/build.rs | 8 ++++---- src/uu/factor/sieve.rs | 8 ++++---- src/uu/factor/src/cli.rs | 8 ++++---- src/uu/factor/src/factor.rs | 8 ++++---- src/uu/factor/src/miller_rabin.rs | 8 ++++---- src/uu/factor/src/numeric/gcd.rs | 8 ++++---- src/uu/factor/src/numeric/mod.rs | 8 ++++---- src/uu/factor/src/numeric/modular_inverse.rs | 8 ++++---- src/uu/factor/src/numeric/montgomery.rs | 8 ++++---- src/uu/factor/src/numeric/traits.rs | 8 ++++---- src/uu/factor/src/rho.rs | 8 ++++---- src/uu/factor/src/table.rs | 8 ++++---- src/uu/false/src/false.rs | 8 ++++---- src/uu/fmt/src/fmt.rs | 8 ++++---- src/uu/fmt/src/linebreak.rs | 8 ++++---- src/uu/fmt/src/parasplit.rs | 8 ++++---- src/uu/fold/src/fold.rs | 8 ++++---- src/uu/hashsum/src/hashsum.rs | 8 ++++---- src/uu/head/src/head.rs | 8 ++++---- src/uu/head/src/parse.rs | 8 ++++---- src/uu/hostid/src/hostid.rs | 8 ++++---- src/uu/hostname/src/hostname.rs | 8 ++++---- src/uu/install/src/install.rs | 8 ++++---- src/uu/join/src/join.rs | 8 ++++---- src/uu/kill/src/kill.rs | 8 ++++---- src/uu/link/src/link.rs | 8 ++++---- src/uu/ln/src/ln.rs | 8 ++++---- src/uu/logname/src/logname.rs | 8 ++++---- src/uu/ls/src/ls.rs | 4 ++-- src/uu/mkdir/src/mkdir.rs | 8 ++++---- src/uu/mkfifo/src/mkfifo.rs | 8 ++++---- src/uu/more/src/more.rs | 8 ++++---- src/uu/mv/src/error.rs | 4 ++-- src/uu/mv/src/mv.rs | 4 ++-- src/uu/nice/src/nice.rs | 8 ++++---- src/uu/nl/src/nl.rs | 9 ++++----- src/uu/nohup/src/nohup.rs | 8 ++++---- src/uu/nproc/src/nproc.rs | 8 ++++---- src/uu/numfmt/src/errors.rs | 8 ++++---- src/uu/numfmt/src/numfmt.rs | 8 ++++---- src/uu/od/src/od.rs | 8 ++++---- src/uu/paste/src/paste.rs | 8 ++++---- src/uu/pathchk/src/pathchk.rs | 9 ++++----- src/uu/pr/src/pr.rs | 4 ++-- src/uu/printenv/src/printenv.rs | 8 ++++---- src/uu/ptx/src/ptx.rs | 8 ++++---- src/uu/pwd/src/pwd.rs | 8 ++++---- src/uu/readlink/src/readlink.rs | 8 ++++---- src/uu/realpath/src/realpath.rs | 8 ++++---- src/uu/relpath/src/relpath.rs | 8 ++++---- src/uu/rm/src/rm.rs | 8 ++++---- src/uu/rmdir/src/rmdir.rs | 8 ++++---- src/uu/seq/src/error.rs | 8 ++++---- src/uu/seq/src/seq.rs | 8 ++++---- src/uu/shred/src/shred.rs | 8 ++++---- src/uu/shuf/src/shuf.rs | 8 ++++---- src/uu/sleep/src/sleep.rs | 8 ++++---- src/uu/sort/src/check.rs | 8 ++++---- src/uu/sort/src/chunks.rs | 8 ++++---- src/uu/sort/src/custom_str_cmp.rs | 8 ++++---- src/uu/sort/src/ext_sort.rs | 8 ++++---- src/uu/sort/src/numeric_str_cmp.rs | 8 ++++---- src/uu/sort/src/sort.rs | 8 ++++---- src/uu/split/src/filenames.rs | 8 ++++---- src/uu/split/src/number.rs | 8 ++++---- src/uu/split/src/split.rs | 8 ++++---- src/uu/stat/src/stat.rs | 4 ++-- src/uu/stdbuf/src/stdbuf.rs | 8 ++++---- src/uu/stty/src/flags.rs | 8 ++++---- src/uu/stty/src/stty.rs | 8 ++++---- src/uu/sum/src/sum.rs | 8 ++++---- src/uu/sync/src/sync.rs | 8 ++++---- src/uu/tac/src/error.rs | 8 ++++---- src/uu/tac/src/tac.rs | 8 ++++---- src/uu/tail/src/args.rs | 8 ++++---- src/uu/tail/src/chunks.rs | 8 ++++---- src/uu/tail/src/follow/files.rs | 8 ++++---- src/uu/tail/src/follow/mod.rs | 8 ++++---- src/uu/tail/src/follow/watch.rs | 8 ++++---- src/uu/tail/src/parse.rs | 8 ++++---- src/uu/tail/src/paths.rs | 8 ++++---- src/uu/tail/src/platform/mod.rs | 10 ++++------ src/uu/tail/src/platform/unix.rs | 10 ++++------ src/uu/tail/src/platform/windows.rs | 11 +++++------ src/uu/tail/src/tail.rs | 8 ++++---- src/uu/tail/src/text.rs | 8 ++++---- src/uu/tee/src/tee.rs | 8 ++++---- src/uu/timeout/src/status.rs | 8 ++++---- src/uu/timeout/src/timeout.rs | 8 ++++---- src/uu/touch/src/touch.rs | 4 ++-- src/uu/tr/src/convert.rs | 8 ++++---- src/uu/tr/src/operation.rs | 8 ++++---- src/uu/tr/src/tr.rs | 8 ++++---- src/uu/tr/src/unicode_table.rs | 8 ++++---- src/uu/true/src/true.rs | 8 ++++---- src/uu/truncate/src/truncate.rs | 8 ++++---- src/uu/tsort/src/tsort.rs | 8 ++++---- src/uu/tty/src/tty.rs | 8 ++++---- src/uu/unexpand/src/unexpand.rs | 8 ++++---- src/uu/uniq/src/uniq.rs | 8 ++++---- src/uu/unlink/src/unlink.rs | 8 ++++---- src/uu/uptime/src/uptime.rs | 8 ++++---- src/uu/users/src/users.rs | 8 ++++---- src/uu/vdir/src/vdir.rs | 8 ++++---- src/uu/wc/src/wc.rs | 8 ++++---- src/uu/whoami/src/platform/mod.rs | 10 ++++------ src/uu/whoami/src/platform/unix.rs | 10 ++++------ src/uu/whoami/src/platform/windows.rs | 10 ++++------ src/uu/whoami/src/whoami.rs | 8 ++++---- src/uu/yes/src/yes.rs | 8 ++++---- src/uucore/src/lib/features/fsext.rs | 4 ++-- src/uucore/src/lib/features/lines.rs | 8 ++++---- src/uucore/src/lib/features/process.rs | 4 ++-- src/uucore/src/lib/features/signals.rs | 4 ++-- src/uucore/src/lib/features/sum.rs | 4 ++-- src/uucore/src/lib/macros.rs | 5 +++++ src/uucore/src/lib/parser/parse_size.rs | 8 ++++---- tests/by-util/test_base32.rs | 4 ++-- tests/by-util/test_du.rs | 8 ++++---- tests/by-util/test_factor.rs | 4 ++-- tests/by-util/test_groups.rs | 8 ++++---- tests/by-util/test_head.rs | 8 ++++---- tests/by-util/test_id.rs | 8 ++++---- tests/by-util/test_od.rs | 9 +++++---- tests/by-util/test_pinky.rs | 8 ++++---- tests/by-util/test_sort.rs | 8 ++++---- tests/by-util/test_split.rs | 8 ++++---- tests/by-util/test_stat.rs | 8 ++++---- tests/by-util/test_tail.rs | 8 ++++---- tests/by-util/test_test.rs | 2 -- tests/by-util/test_truncate.rs | 8 ++++---- tests/by-util/test_who.rs | 8 ++++---- tests/by-util/test_whoami.rs | 8 ++++---- tests/common/macros.rs | 8 ++++---- tests/common/random.rs | 8 ++++---- tests/common/util.rs | 8 ++++---- 163 files changed, 611 insertions(+), 618 deletions(-) diff --git a/build.rs b/build.rs index d210e2a2e..bb4e2b536 100644 --- a/build.rs +++ b/build.rs @@ -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 use std::env; diff --git a/src/uu/base32/src/base32.rs b/src/uu/base32/src/base32.rs index 2ef63fbc0..09250421c 100644 --- a/src/uu/base32/src/base32.rs +++ b/src/uu/base32/src/base32.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::io::{stdin, Read}; diff --git a/src/uu/base32/src/base_common.rs b/src/uu/base32/src/base_common.rs index ba2ef9229..4a30705af 100644 --- a/src/uu/base32/src/base_common.rs +++ b/src/uu/base32/src/base_common.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::io::{stdout, Read, Write}; diff --git a/src/uu/base64/src/base64.rs b/src/uu/base64/src/base64.rs index 4e4a3c293..6544638bd 100644 --- a/src/uu/base64/src/base64.rs +++ b/src/uu/base64/src/base64.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use uu_base32::base_common; pub use uu_base32::uu_app; diff --git a/src/uu/basenc/src/basenc.rs b/src/uu/basenc/src/basenc.rs index 0ee8a816b..ff512b176 100644 --- a/src/uu/basenc/src/basenc.rs +++ b/src/uu/basenc/src/basenc.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //spell-checker:ignore (args) lsbf msbf diff --git a/src/uu/chroot/src/error.rs b/src/uu/chroot/src/error.rs index 43ef98595..526f1a75a 100644 --- a/src/uu/chroot/src/error.rs +++ b/src/uu/chroot/src/error.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 NEWROOT Userspec userspec //! Errors returned by chroot. use std::fmt::Display; diff --git a/src/uu/cksum/src/cksum.rs b/src/uu/cksum/src/cksum.rs index 83d48ec1a..6c9c79582 100644 --- a/src/uu/cksum/src/cksum.rs +++ b/src/uu/cksum/src/cksum.rs @@ -1,6 +1,6 @@ // 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. // spell-checker:ignore (ToDO) fname, algo diff --git a/src/uu/cp/src/copydir.rs b/src/uu/cp/src/copydir.rs index 818b0d222..cfb18212d 100644 --- a/src/uu/cp/src/copydir.rs +++ b/src/uu/cp/src/copydir.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 canonicalizes direntry pathbuf symlinked //! Recursively copy the contents of a directory. //! diff --git a/src/uu/cp/src/cp.rs b/src/uu/cp/src/cp.rs index ce16357c6..4b326d9d5 100644 --- a/src/uu/cp/src/cp.rs +++ b/src/uu/cp/src/cp.rs @@ -1,12 +1,10 @@ -#![allow(clippy::missing_safety_doc)] -#![allow(clippy::extra_unused_lifetimes)] - // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. - +// For the full copyright and license information, please view the LICENSE +// 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 +#![allow(clippy::missing_safety_doc)] +#![allow(clippy::extra_unused_lifetimes)] use quick_error::quick_error; use std::borrow::Cow; diff --git a/src/uu/cp/src/platform/linux.rs b/src/uu/cp/src/platform/linux.rs index 18f2520a2..674e66ea5 100644 --- a/src/uu/cp/src/platform/linux.rs +++ b/src/uu/cp/src/platform/linux.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 ficlone reflink ftruncate pwrite fiemap use std::fs::{File, OpenOptions}; use std::io::Read; diff --git a/src/uu/cp/src/platform/macos.rs b/src/uu/cp/src/platform/macos.rs index b173aa959..8c62c78d9 100644 --- a/src/uu/cp/src/platform/macos.rs +++ b/src/uu/cp/src/platform/macos.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 reflink use std::ffi::CString; use std::fs::{self, File}; diff --git a/src/uu/cp/src/platform/mod.rs b/src/uu/cp/src/platform/mod.rs index 9dbcefa80..c79427068 100644 --- a/src/uu/cp/src/platform/mod.rs +++ b/src/uu/cp/src/platform/mod.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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(target_os = "macos")] mod macos; #[cfg(target_os = "macos")] diff --git a/src/uu/cp/src/platform/other.rs b/src/uu/cp/src/platform/other.rs index f5882f75e..7ca1a5ded 100644 --- a/src/uu/cp/src/platform/other.rs +++ b/src/uu/cp/src/platform/other.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 reflink use std::fs; use std::path::Path; diff --git a/src/uu/dd/src/blocks.rs b/src/uu/dd/src/blocks.rs index a8d2c1408..8e5557a2c 100644 --- a/src/uu/dd/src/blocks.rs +++ b/src/uu/dd/src/blocks.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 datastructures rstat rposition cflags ctable diff --git a/src/uu/dd/src/numbers.rs b/src/uu/dd/src/numbers.rs index 0cab572b4..2911f7e58 100644 --- a/src/uu/dd/src/numbers.rs +++ b/src/uu/dd/src/numbers.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. /// Functions for formatting a number as a magnitude and a unit suffix. /// The first ten powers of 1024. diff --git a/src/uu/dd/src/progress.rs b/src/uu/dd/src/progress.rs index a9d29ff63..4fe04cb0e 100644 --- a/src/uu/dd/src/progress.rs +++ b/src/uu/dd/src/progress.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 btotal sigval //! Read and write progress tracking for dd. //! diff --git a/src/uu/df/src/blocks.rs b/src/uu/df/src/blocks.rs index f48d2ffd2..9bc16b782 100644 --- a/src/uu/df/src/blocks.rs +++ b/src/uu/df/src/blocks.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Types for representing and displaying block sizes. use crate::{OPT_BLOCKSIZE, OPT_PORTABILITY}; use clap::ArgMatches; diff --git a/src/uu/df/src/columns.rs b/src/uu/df/src/columns.rs index f9515d791..0659d7f7d 100644 --- a/src/uu/df/src/columns.rs +++ b/src/uu/df/src/columns.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 itotal iused iavail ipcent pcent squashfs use crate::{OPT_INODES, OPT_OUTPUT, OPT_PRINT_TYPE}; use clap::{parser::ValueSource, ArgMatches}; diff --git a/src/uu/df/src/df.rs b/src/uu/df/src/df.rs index 9a3eeac65..78325f3d2 100644 --- a/src/uu/df/src/df.rs +++ b/src/uu/df/src/df.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore itotal iused iavail ipcent pcent tmpfs squashfs lofs mod blocks; mod columns; diff --git a/src/uu/df/src/filesystem.rs b/src/uu/df/src/filesystem.rs index d50822e7f..ef5107958 100644 --- a/src/uu/df/src/filesystem.rs +++ b/src/uu/df/src/filesystem.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 a summary representation of a filesystem. //! //! A [`Filesystem`] struct represents a device containing a diff --git a/src/uu/df/src/table.rs b/src/uu/df/src/table.rs index 06bfc3383..4c3d08f45 100644 --- a/src/uu/df/src/table.rs +++ b/src/uu/df/src/table.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 tmpfs Pcent Itotal Iused Iavail Ipcent //! The filesystem usage data table. //! diff --git a/src/uu/dir/src/dir.rs b/src/uu/dir/src/dir.rs index fb26b265f..e25529511 100644 --- a/src/uu/dir/src/dir.rs +++ b/src/uu/dir/src/dir.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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 clap::Command; use std::ffi::OsString; diff --git a/src/uu/du/src/du.rs b/src/uu/du/src/du.rs index 493eb4848..5be2a8a2b 100644 --- a/src/uu/du/src/du.rs +++ b/src/uu/du/src/du.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 chrono::prelude::DateTime; use chrono::Local; diff --git a/src/uu/expand/src/expand.rs b/src/uu/expand/src/expand.rs index fb73ce4b5..9294d1a8f 100644 --- a/src/uu/expand/src/expand.rs +++ b/src/uu/expand/src/expand.rs @@ -1,6 +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. diff --git a/src/uu/expr/src/expr.rs b/src/uu/expr/src/expr.rs index 458466558..ea559090c 100644 --- a/src/uu/expr/src/expr.rs +++ b/src/uu/expr/src/expr.rs @@ -1,7 +1,7 @@ -//* This file is part of the uutils coreutils package. -//* -//* For the full copyright and license information, please view the LICENSE -//* file that was distributed with this source code. +// This file is part 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 clap::{crate_version, Arg, ArgAction, Command}; use uucore::{ diff --git a/src/uu/expr/src/syntax_tree.rs b/src/uu/expr/src/syntax_tree.rs index 71a0d5408..0e0795bd4 100644 --- a/src/uu/expr/src/syntax_tree.rs +++ b/src/uu/expr/src/syntax_tree.rs @@ -1,7 +1,7 @@ -//* This file is part of the uutils coreutils package. -//* -//* For the full copyright and license information, please view the LICENSE -//* file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// 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. diff --git a/src/uu/expr/src/tokens.rs b/src/uu/expr/src/tokens.rs index f211eefaa..b4e4c7da5 100644 --- a/src/uu/expr/src/tokens.rs +++ b/src/uu/expr/src/tokens.rs @@ -1,7 +1,7 @@ -//* This file is part of the uutils coreutils package. -//* -//* For the full copyright and license information, please view the LICENSE -//* file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! //! The following tokens are present in the expr grammar: diff --git a/src/uu/factor/build.rs b/src/uu/factor/build.rs index 2ec215f2e..8de0605a2 100644 --- a/src/uu/factor/build.rs +++ b/src/uu/factor/build.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! 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). diff --git a/src/uu/factor/sieve.rs b/src/uu/factor/sieve.rs index 3d569c6bf..e2211ce05 100644 --- a/src/uu/factor/sieve.rs +++ b/src/uu/factor/sieve.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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) filts, minidx, minkey paridx diff --git a/src/uu/factor/src/cli.rs b/src/uu/factor/src/cli.rs index d35e2ede6..bfc4ede15 100644 --- a/src/uu/factor/src/cli.rs +++ b/src/uu/factor/src/cli.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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::error::Error; use std::fmt::Write as FmtWrite; diff --git a/src/uu/factor/src/factor.rs b/src/uu/factor/src/factor.rs index 7ce5eb822..1af6bc550 100644 --- a/src/uu/factor/src/factor.rs +++ b/src/uu/factor/src/factor.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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 smallvec::SmallVec; use std::cell::RefCell; diff --git a/src/uu/factor/src/miller_rabin.rs b/src/uu/factor/src/miller_rabin.rs index 5c88278d2..1ccc55600 100644 --- a/src/uu/factor/src/miller_rabin.rs +++ b/src/uu/factor/src/miller_rabin.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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 (URL) appspot diff --git a/src/uu/factor/src/numeric/gcd.rs b/src/uu/factor/src/numeric/gcd.rs index 10efc339a..43c6ce9b7 100644 --- a/src/uu/factor/src/numeric/gcd.rs +++ b/src/uu/factor/src/numeric/gcd.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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) kgcdab gcdac gcdbc diff --git a/src/uu/factor/src/numeric/mod.rs b/src/uu/factor/src/numeric/mod.rs index 4a087274b..d4c0b5dc7 100644 --- a/src/uu/factor/src/numeric/mod.rs +++ b/src/uu/factor/src/numeric/mod.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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 gcd; pub use gcd::gcd; diff --git a/src/uu/factor/src/numeric/modular_inverse.rs b/src/uu/factor/src/numeric/modular_inverse.rs index 52e87e412..bacf57d9c 100644 --- a/src/uu/factor/src/numeric/modular_inverse.rs +++ b/src/uu/factor/src/numeric/modular_inverse.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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::traits::Int; diff --git a/src/uu/factor/src/numeric/montgomery.rs b/src/uu/factor/src/numeric/montgomery.rs index 3d225dd1e..10c6dd2d9 100644 --- a/src/uu/factor/src/numeric/montgomery.rs +++ b/src/uu/factor/src/numeric/montgomery.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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::*; diff --git a/src/uu/factor/src/numeric/traits.rs b/src/uu/factor/src/numeric/traits.rs index a3b8912f9..c3528a4ad 100644 --- a/src/uu/factor/src/numeric/traits.rs +++ b/src/uu/factor/src/numeric/traits.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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(crate) use num_traits::{ identities::{One, Zero}, diff --git a/src/uu/factor/src/rho.rs b/src/uu/factor/src/rho.rs index 8de8ade83..2af0f6855 100644 --- a/src/uu/factor/src/rho.rs +++ b/src/uu/factor/src/rho.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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 rand::distributions::{Distribution, Uniform}; use rand::rngs::SmallRng; diff --git a/src/uu/factor/src/table.rs b/src/uu/factor/src/table.rs index 063ec0620..e9b525a3a 100644 --- a/src/uu/factor/src/table.rs +++ b/src/uu/factor/src/table.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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) INVS diff --git a/src/uu/false/src/false.rs b/src/uu/false/src/false.rs index 293bb1eb5..3ae25e569 100644 --- a/src/uu/false/src/false.rs +++ b/src/uu/false/src/false.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 clap::{Arg, ArgAction, Command}; use std::{ffi::OsString, io::Write}; use uucore::error::{set_exit_code, UResult}; diff --git a/src/uu/fmt/src/fmt.rs b/src/uu/fmt/src/fmt.rs index 0ff20e987..c5eac7073 100644 --- a/src/uu/fmt/src/fmt.rs +++ b/src/uu/fmt/src/fmt.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) PSKIP linebreak ostream parasplit tabwidth xanti xprefix diff --git a/src/uu/fmt/src/linebreak.rs b/src/uu/fmt/src/linebreak.rs index b3e79152f..13f34ca96 100644 --- a/src/uu/fmt/src/linebreak.rs +++ b/src/uu/fmt/src/linebreak.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) 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 diff --git a/src/uu/fmt/src/parasplit.rs b/src/uu/fmt/src/parasplit.rs index fbad5d16e..68c8f78fa 100644 --- a/src/uu/fmt/src/parasplit.rs +++ b/src/uu/fmt/src/parasplit.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) 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 diff --git a/src/uu/fold/src/fold.rs b/src/uu/fold/src/fold.rs index b01101942..95b6d9a82 100644 --- a/src/uu/fold/src/fold.rs +++ b/src/uu/fold/src/fold.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 (ToDOs) ncount routput diff --git a/src/uu/hashsum/src/hashsum.rs b/src/uu/hashsum/src/hashsum.rs index 0e297c8cc..1931c7d79 100644 --- a/src/uu/hashsum/src/hashsum.rs +++ b/src/uu/hashsum/src/hashsum.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) algo, algoname, regexes, nread, nonames diff --git a/src/uu/head/src/head.rs b/src/uu/head/src/head.rs index 931f8a652..c60bbfe99 100644 --- a/src/uu/head/src/head.rs +++ b/src/uu/head/src/head.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) zlines BUFWRITER seekable diff --git a/src/uu/head/src/parse.rs b/src/uu/head/src/parse.rs index 56c359a0c..90e1f2ce0 100644 --- a/src/uu/head/src/parse.rs +++ b/src/uu/head/src/parse.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 uucore::parse_size::{parse_size, ParseSizeError}; diff --git a/src/uu/hostid/src/hostid.rs b/src/uu/hostid/src/hostid.rs index f30def1b9..a5c18d075 100644 --- a/src/uu/hostid/src/hostid.rs +++ b/src/uu/hostid/src/hostid.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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) gethostid diff --git a/src/uu/hostname/src/hostname.rs b/src/uu/hostname/src/hostname.rs index 82df4e99f..6a318cb8c 100644 --- a/src/uu/hostname/src/hostname.rs +++ b/src/uu/hostname/src/hostname.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) MAKEWORD addrs hashset diff --git a/src/uu/install/src/install.rs b/src/uu/install/src/install.rs index a2d49fe8b..02cf8345d 100644 --- a/src/uu/install/src/install.rs +++ b/src/uu/install/src/install.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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) rwxr sourcepath targetpath Isnt uioerror diff --git a/src/uu/join/src/join.rs b/src/uu/join/src/join.rs index e769ceb58..71720f2cc 100644 --- a/src/uu/join/src/join.rs +++ b/src/uu/join/src/join.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) autoformat FILENUM whitespaces pairable unpairable nocheck diff --git a/src/uu/kill/src/kill.rs b/src/uu/kill/src/kill.rs index 1bc89f9a6..b0e18a798 100644 --- a/src/uu/kill/src/kill.rs +++ b/src/uu/kill/src/kill.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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) signalname pids killpg diff --git a/src/uu/link/src/link.rs b/src/uu/link/src/link.rs index 6a7f78fca..806e89828 100644 --- a/src/uu/link/src/link.rs +++ b/src/uu/link/src/link.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 clap::builder::ValueParser; use clap::{crate_version, Arg, Command}; use std::ffi::OsString; diff --git a/src/uu/ln/src/ln.rs b/src/uu/ln/src/ln.rs index 42426be3c..18d515a88 100644 --- a/src/uu/ln/src/ln.rs +++ b/src/uu/ln/src/ln.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) srcpath targetpath EEXIST diff --git a/src/uu/logname/src/logname.rs b/src/uu/logname/src/logname.rs index 55008bb73..52505d98d 100644 --- a/src/uu/logname/src/logname.rs +++ b/src/uu/logname/src/logname.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. /* last synced with: logname (GNU coreutils) 8.22 */ diff --git a/src/uu/ls/src/ls.rs b/src/uu/ls/src/ls.rs index 792768153..1f5165e83 100644 --- a/src/uu/ls/src/ls.rs +++ b/src/uu/ls/src/ls.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) cpio svgz webm somegroup nlink rmvb xspf tabsize dired diff --git a/src/uu/mkdir/src/mkdir.rs b/src/uu/mkdir/src/mkdir.rs index cdc03a30c..2044855e4 100644 --- a/src/uu/mkdir/src/mkdir.rs +++ b/src/uu/mkdir/src/mkdir.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) ugoa cmode diff --git a/src/uu/mkfifo/src/mkfifo.rs b/src/uu/mkfifo/src/mkfifo.rs index 021dbff5f..dc1f876fc 100644 --- a/src/uu/mkfifo/src/mkfifo.rs +++ b/src/uu/mkfifo/src/mkfifo.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 clap::{crate_version, Arg, ArgAction, Command}; use libc::mkfifo; diff --git a/src/uu/more/src/more.rs b/src/uu/more/src/more.rs index 6cbfa2b1d..75cf79c07 100644 --- a/src/uu/more/src/more.rs +++ b/src/uu/more/src/more.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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 (methods) isnt diff --git a/src/uu/mv/src/error.rs b/src/uu/mv/src/error.rs index 7810c3a95..a6605e232 100644 --- a/src/uu/mv/src/error.rs +++ b/src/uu/mv/src/error.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::error::Error; use std::fmt::{Display, Formatter, Result}; diff --git a/src/uu/mv/src/mv.rs b/src/uu/mv/src/mv.rs index 6f6415789..9f7a96618 100644 --- a/src/uu/mv/src/mv.rs +++ b/src/uu/mv/src/mv.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) sourcepath targetpath diff --git a/src/uu/nice/src/nice.rs b/src/uu/nice/src/nice.rs index 35871d694..3eaeba956 100644 --- a/src/uu/nice/src/nice.rs +++ b/src/uu/nice/src/nice.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) getpriority execvp setpriority nstr PRIO cstrs ENOENT diff --git a/src/uu/nl/src/nl.rs b/src/uu/nl/src/nl.rs index 519102a31..61a0a9f35 100644 --- a/src/uu/nl/src/nl.rs +++ b/src/uu/nl/src/nl.rs @@ -1,8 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. -// * +// This file is part 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 clap::{crate_version, Arg, ArgAction, Command}; use std::fs::File; diff --git a/src/uu/nohup/src/nohup.rs b/src/uu/nohup/src/nohup.rs index 3f2453471..fdbed9395 100644 --- a/src/uu/nohup/src/nohup.rs +++ b/src/uu/nohup/src/nohup.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) execvp SIGHUP cproc vprocmgr cstrs homeout diff --git a/src/uu/nproc/src/nproc.rs b/src/uu/nproc/src/nproc.rs index 16262d514..d0bd3083d 100644 --- a/src/uu/nproc/src/nproc.rs +++ b/src/uu/nproc/src/nproc.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) NPROCESSORS nprocs numstr threadstr sysconf diff --git a/src/uu/numfmt/src/errors.rs b/src/uu/numfmt/src/errors.rs index 22c6962d6..77dd6f0aa 100644 --- a/src/uu/numfmt/src/errors.rs +++ b/src/uu/numfmt/src/errors.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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::{ error::Error, diff --git a/src/uu/numfmt/src/numfmt.rs b/src/uu/numfmt/src/numfmt.rs index 10ae5387c..4afe56555 100644 --- a/src/uu/numfmt/src/numfmt.rs +++ b/src/uu/numfmt/src/numfmt.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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::errors::*; use crate::format::format_and_print; diff --git a/src/uu/od/src/od.rs b/src/uu/od/src/od.rs index dd083ff6d..769dae98e 100644 --- a/src/uu/od/src/od.rs +++ b/src/uu/od/src/od.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 (clap) dont // spell-checker:ignore (ToDO) formatteriteminfo inputdecoder inputoffset mockstream nrofbytes partialreader odfunc multifile exitcode diff --git a/src/uu/paste/src/paste.rs b/src/uu/paste/src/paste.rs index 8541e0d50..89bba034c 100644 --- a/src/uu/paste/src/paste.rs +++ b/src/uu/paste/src/paste.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) delim diff --git a/src/uu/pathchk/src/pathchk.rs b/src/uu/pathchk/src/pathchk.rs index f59fd6a90..3510a3327 100644 --- a/src/uu/pathchk/src/pathchk.rs +++ b/src/uu/pathchk/src/pathchk.rs @@ -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! -// * This file is part 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 use clap::{crate_version, Arg, ArgAction, Command}; use std::fs; diff --git a/src/uu/pr/src/pr.rs b/src/uu/pr/src/pr.rs index 37674bad7..ef178a888 100644 --- a/src/uu/pr/src/pr.rs +++ b/src/uu/pr/src/pr.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // // spell-checker:ignore (ToDO) adFfmprt, kmerge diff --git a/src/uu/printenv/src/printenv.rs b/src/uu/printenv/src/printenv.rs index 166670244..cab24336f 100644 --- a/src/uu/printenv/src/printenv.rs +++ b/src/uu/printenv/src/printenv.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. /* last synced with: printenv (GNU coreutils) 8.13 */ diff --git a/src/uu/ptx/src/ptx.rs b/src/uu/ptx/src/ptx.rs index 38cc1473d..4385ab484 100644 --- a/src/uu/ptx/src/ptx.rs +++ b/src/uu/ptx/src/ptx.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 (ToDOs) corasick memchr Roff trunc oset iset CHARCLASS diff --git a/src/uu/pwd/src/pwd.rs b/src/uu/pwd/src/pwd.rs index 0b532672a..fde2357e2 100644 --- a/src/uu/pwd/src/pwd.rs +++ b/src/uu/pwd/src/pwd.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 clap::ArgAction; use clap::{crate_version, Arg, Command}; diff --git a/src/uu/readlink/src/readlink.rs b/src/uu/readlink/src/readlink.rs index 3775f7487..2febe51af 100644 --- a/src/uu/readlink/src/readlink.rs +++ b/src/uu/readlink/src/readlink.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) errno diff --git a/src/uu/realpath/src/realpath.rs b/src/uu/realpath/src/realpath.rs index ddbb254d5..64806fbab 100644 --- a/src/uu/realpath/src/realpath.rs +++ b/src/uu/realpath/src/realpath.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) retcode diff --git a/src/uu/relpath/src/relpath.rs b/src/uu/relpath/src/relpath.rs index e667a60cc..46dd0d663 100644 --- a/src/uu/relpath/src/relpath.rs +++ b/src/uu/relpath/src/relpath.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) subpath absto absfrom absbase diff --git a/src/uu/rm/src/rm.rs b/src/uu/rm/src/rm.rs index a87eca2b0..d9421d0ae 100644 --- a/src/uu/rm/src/rm.rs +++ b/src/uu/rm/src/rm.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) eacces diff --git a/src/uu/rmdir/src/rmdir.rs b/src/uu/rmdir/src/rmdir.rs index 73bdce231..ef152f01a 100644 --- a/src/uu/rmdir/src/rmdir.rs +++ b/src/uu/rmdir/src/rmdir.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) ENOTDIR diff --git a/src/uu/seq/src/error.rs b/src/uu/seq/src/error.rs index fc8452e13..e81c30fe6 100644 --- a/src/uu/seq/src/error.rs +++ b/src/uu/seq/src/error.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 numberparse //! Errors returned by seq. use std::error::Error; diff --git a/src/uu/seq/src/seq.rs b/src/uu/seq/src/seq.rs index dec66a7b1..4f04b377e 100644 --- a/src/uu/seq/src/seq.rs +++ b/src/uu/seq/src/seq.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) istr chiter argptr ilen extendedbigdecimal extendedbigint numberparse use std::io::{stdout, ErrorKind, Write}; use std::process::exit; diff --git a/src/uu/shred/src/shred.rs b/src/uu/shred/src/shred.rs index 6af81022a..9b1f7fc98 100644 --- a/src/uu/shred/src/shred.rs +++ b/src/uu/shred/src/shred.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) wipesync prefill diff --git a/src/uu/shuf/src/shuf.rs b/src/uu/shuf/src/shuf.rs index 987383f4a..1b21b9532 100644 --- a/src/uu/shuf/src/shuf.rs +++ b/src/uu/shuf/src/shuf.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) cmdline evec seps rvec fdata diff --git a/src/uu/sleep/src/sleep.rs b/src/uu/sleep/src/sleep.rs index b8dc3c612..b1d6bd899 100644 --- a/src/uu/sleep/src/sleep.rs +++ b/src/uu/sleep/src/sleep.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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::thread; use std::time::Duration; diff --git a/src/uu/sort/src/check.rs b/src/uu/sort/src/check.rs index df080acae..763b6deb7 100644 --- a/src/uu/sort/src/check.rs +++ b/src/uu/sort/src/check.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Check if a file is ordered diff --git a/src/uu/sort/src/chunks.rs b/src/uu/sort/src/chunks.rs index e1ba68ade..525a9f66b 100644 --- a/src/uu/sort/src/chunks.rs +++ b/src/uu/sort/src/chunks.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 reading files as chunks. diff --git a/src/uu/sort/src/custom_str_cmp.rs b/src/uu/sort/src/custom_str_cmp.rs index 7b626548f..fb128d9af 100644 --- a/src/uu/sort/src/custom_str_cmp.rs +++ b/src/uu/sort/src/custom_str_cmp.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 string comparisons. //! diff --git a/src/uu/sort/src/ext_sort.rs b/src/uu/sort/src/ext_sort.rs index ae9c7403e..08de4e33e 100644 --- a/src/uu/sort/src/ext_sort.rs +++ b/src/uu/sort/src/ext_sort.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Sort big files by using auxiliary files for storing intermediate chunks. //! diff --git a/src/uu/sort/src/numeric_str_cmp.rs b/src/uu/sort/src/numeric_str_cmp.rs index 31c85d6db..661f536a3 100644 --- a/src/uu/sort/src/numeric_str_cmp.rs +++ b/src/uu/sort/src/numeric_str_cmp.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Fast comparison for strings representing a base 10 number without precision loss. //! diff --git a/src/uu/sort/src/sort.rs b/src/uu/sort/src/sort.rs index c4091d437..4e6e84187 100644 --- a/src/uu/sort/src/sort.rs +++ b/src/uu/sort/src/sort.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// 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: // https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sort.html diff --git a/src/uu/split/src/filenames.rs b/src/uu/split/src/filenames.rs index 6bec4105f..08f08e293 100644 --- a/src/uu/split/src/filenames.rs +++ b/src/uu/split/src/filenames.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 zaaa zaab //! Compute filenames from a given index. //! diff --git a/src/uu/split/src/number.rs b/src/uu/split/src/number.rs index 567526538..39d64f927 100644 --- a/src/uu/split/src/number.rs +++ b/src/uu/split/src/number.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 zaaa zaab //! A number in arbitrary radix expressed in a positional notation. //! diff --git a/src/uu/split/src/split.rs b/src/uu/split/src/split.rs index 345d489ca..71aacfed0 100644 --- a/src/uu/split/src/split.rs +++ b/src/uu/split/src/split.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 nbbbb ncccc diff --git a/src/uu/stat/src/stat.rs b/src/uu/stat/src/stat.rs index b3c9dc513..19fc5370a 100644 --- a/src/uu/stat/src/stat.rs +++ b/src/uu/stat/src/stat.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use clap::builder::ValueParser; use uucore::display::Quotable; diff --git a/src/uu/stdbuf/src/stdbuf.rs b/src/uu/stdbuf/src/stdbuf.rs index b5c79b365..6e522aa3d 100644 --- a/src/uu/stdbuf/src/stdbuf.rs +++ b/src/uu/stdbuf/src/stdbuf.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) tempdir dyld dylib dragonflybsd optgrps libstdbuf diff --git a/src/uu/stty/src/flags.rs b/src/uu/stty/src/flags.rs index 536c08d80..2c8e154e8 100644 --- a/src/uu/stty/src/flags.rs +++ b/src/uu/stty/src/flags.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore parenb 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 diff --git a/src/uu/stty/src/stty.rs b/src/uu/stty/src/stty.rs index c933e48ae..d55870730 100644 --- a/src/uu/stty/src/stty.rs +++ b/src/uu/stty/src/stty.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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 clocal erange tcgetattr tcsetattr tcsanow tiocgwinsz tiocswinsz cfgetospeed cfsetospeed ushort vmin vtime diff --git a/src/uu/sum/src/sum.rs b/src/uu/sum/src/sum.rs index 91c6cdb6c..4616274d0 100644 --- a/src/uu/sum/src/sum.rs +++ b/src/uu/sum/src/sum.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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) sysv diff --git a/src/uu/sync/src/sync.rs b/src/uu/sync/src/sync.rs index 3ad53314c..c0b8f3d00 100644 --- a/src/uu/sync/src/sync.rs +++ b/src/uu/sync/src/sync.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. /* Last synced with: sync (GNU coreutils) 8.13 */ diff --git a/src/uu/tac/src/error.rs b/src/uu/tac/src/error.rs index 43b03b970..7a737ad9b 100644 --- a/src/uu/tac/src/error.rs +++ b/src/uu/tac/src/error.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Errors returned by tac during processing of a file. use std::error::Error; use std::fmt::Display; diff --git a/src/uu/tac/src/tac.rs b/src/uu/tac/src/tac.rs index 68cc8b333..b8cb61029 100644 --- a/src/uu/tac/src/tac.rs +++ b/src/uu/tac/src/tac.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) sbytes slen dlen memmem memmap Mmap mmap SIGBUS mod error; diff --git a/src/uu/tail/src/args.rs b/src/uu/tail/src/args.rs index 3b4984819..795652f26 100644 --- a/src/uu/tail/src/args.rs +++ b/src/uu/tail/src/args.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) kqueue Signum fundu diff --git a/src/uu/tail/src/chunks.rs b/src/uu/tail/src/chunks.rs index 7a1e5bc34..6582bd251 100644 --- a/src/uu/tail/src/chunks.rs +++ b/src/uu/tail/src/chunks.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Iterating over a file by chunks, either starting at the end of the file with [`ReverseChunks`] //! or at the end of piped stdin with [`LinesChunk`] or [`BytesChunk`]. diff --git a/src/uu/tail/src/follow/files.rs b/src/uu/tail/src/follow/files.rs index 8686e73f4..e4f980267 100644 --- a/src/uu/tail/src/follow/files.rs +++ b/src/uu/tail/src/follow/files.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 tailable seekable stdlib (stdlib) diff --git a/src/uu/tail/src/follow/mod.rs b/src/uu/tail/src/follow/mod.rs index e31eb54d1..52eef318f 100644 --- a/src/uu/tail/src/follow/mod.rs +++ b/src/uu/tail/src/follow/mod.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 files; mod watch; diff --git a/src/uu/tail/src/follow/watch.rs b/src/uu/tail/src/follow/watch.rs index 9569e6e21..3ecb47f67 100644 --- a/src/uu/tail/src/follow/watch.rs +++ b/src/uu/tail/src/follow/watch.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) tailable untailable stdlib kqueue Uncategorized unwatch diff --git a/src/uu/tail/src/parse.rs b/src/uu/tail/src/parse.rs index 96cf1e918..3d6b2697e 100644 --- a/src/uu/tail/src/parse.rs +++ b/src/uu/tail/src/parse.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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; diff --git a/src/uu/tail/src/paths.rs b/src/uu/tail/src/paths.rs index 5ed654037..117cab8b0 100644 --- a/src/uu/tail/src/paths.rs +++ b/src/uu/tail/src/paths.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 tailable seekable stdlib (stdlib) diff --git a/src/uu/tail/src/platform/mod.rs b/src/uu/tail/src/platform/mod.rs index fb953ca10..cd2953ffd 100644 --- a/src/uu/tail/src/platform/mod.rs +++ b/src/uu/tail/src/platform/mod.rs @@ -1,9 +1,7 @@ -/* - * This file is part of the uutils coreutils package. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. #[cfg(unix)] pub use self::unix::{ diff --git a/src/uu/tail/src/platform/unix.rs b/src/uu/tail/src/platform/unix.rs index 26d0c3d8e..a04582a2c 100644 --- a/src/uu/tail/src/platform/unix.rs +++ b/src/uu/tail/src/platform/unix.rs @@ -1,9 +1,7 @@ -/* - * This file is part of the uutils coreutils package. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ +// This file is part 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) stdlib, ISCHR, GETFD // spell-checker:ignore (options) EPERM, ENOSYS diff --git a/src/uu/tail/src/platform/windows.rs b/src/uu/tail/src/platform/windows.rs index 263d35417..592516162 100644 --- a/src/uu/tail/src/platform/windows.rs +++ b/src/uu/tail/src/platform/windows.rs @@ -1,9 +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. - */ +// This file is part 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 windows_sys::Win32::Foundation::{CloseHandle, BOOL, HANDLE, WAIT_FAILED, WAIT_OBJECT_0}; use windows_sys::Win32::System::Threading::{ OpenProcess, WaitForSingleObject, PROCESS_SYNCHRONIZE, diff --git a/src/uu/tail/src/tail.rs b/src/uu/tail/src/tail.rs index daf683936..0488e0808 100644 --- a/src/uu/tail/src/tail.rs +++ b/src/uu/tail/src/tail.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) seekable seek'd tail'ing ringbuffer ringbuf unwatch Uncategorized filehandle Signum // spell-checker:ignore (libs) kqueue diff --git a/src/uu/tail/src/text.rs b/src/uu/tail/src/text.rs index e7686d301..e7aa6c253 100644 --- a/src/uu/tail/src/text.rs +++ b/src/uu/tail/src/text.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) kqueue diff --git a/src/uu/tee/src/tee.rs b/src/uu/tee/src/tee.rs index 6382eb4ec..ca6e8a7c6 100644 --- a/src/uu/tee/src/tee.rs +++ b/src/uu/tee/src/tee.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 clap::{builder::PossibleValue, crate_version, Arg, ArgAction, Command}; use std::fs::OpenOptions; diff --git a/src/uu/timeout/src/status.rs b/src/uu/timeout/src/status.rs index 9a8558954..10103ab9b 100644 --- a/src/uu/timeout/src/status.rs +++ b/src/uu/timeout/src/status.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Exit status codes produced by `timeout`. use std::convert::From; use uucore::error::UError; diff --git a/src/uu/timeout/src/timeout.rs b/src/uu/timeout/src/timeout.rs index e492ef591..5e73fe2ab 100644 --- a/src/uu/timeout/src/timeout.rs +++ b/src/uu/timeout/src/timeout.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) tstr sigstr cmdname setpgid sigchld getpid mod status; diff --git a/src/uu/touch/src/touch.rs b/src/uu/touch/src/touch.rs index 135d119bd..e9970cb24 100644 --- a/src/uu/touch/src/touch.rs +++ b/src/uu/touch/src/touch.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) filetime datetime lpszfilepath mktime DATETIME subsecond datelike timelike // spell-checker:ignore (FORMATS) MMDDhhmm YYYYMMDDHHMM YYMMDDHHMM YYYYMMDDHHMMS diff --git a/src/uu/tr/src/convert.rs b/src/uu/tr/src/convert.rs index 00656ca49..28a80e9f5 100644 --- a/src/uu/tr/src/convert.rs +++ b/src/uu/tr/src/convert.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 (strings) anychar combinator diff --git a/src/uu/tr/src/operation.rs b/src/uu/tr/src/operation.rs index f27ccc0b9..b7d74427a 100644 --- a/src/uu/tr/src/operation.rs +++ b/src/uu/tr/src/operation.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 (strings) anychar combinator Alnum Punct Xdigit alnum punct xdigit cntrl diff --git a/src/uu/tr/src/tr.rs b/src/uu/tr/src/tr.rs index 9abbca631..9c6e7a7da 100644 --- a/src/uu/tr/src/tr.rs +++ b/src/uu/tr/src/tr.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) allocs bset dflag cflag sflag tflag diff --git a/src/uu/tr/src/unicode_table.rs b/src/uu/tr/src/unicode_table.rs index 43d9fd6f4..a00a30b8b 100644 --- a/src/uu/tr/src/unicode_table.rs +++ b/src/uu/tr/src/unicode_table.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 static BEL: char = '\u{0007}'; pub static BS: char = '\u{0008}'; diff --git a/src/uu/true/src/true.rs b/src/uu/true/src/true.rs index 3b7fe817a..637758625 100644 --- a/src/uu/true/src/true.rs +++ b/src/uu/true/src/true.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 clap::{Arg, ArgAction, Command}; use std::{ffi::OsString, io::Write}; use uucore::error::{set_exit_code, UResult}; diff --git a/src/uu/truncate/src/truncate.rs b/src/uu/truncate/src/truncate.rs index cd3875b78..3b1e9bd09 100644 --- a/src/uu/truncate/src/truncate.rs +++ b/src/uu/truncate/src/truncate.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) RFILE refsize rfilename fsize tsize use clap::{crate_version, Arg, ArgAction, Command}; diff --git a/src/uu/tsort/src/tsort.rs b/src/uu/tsort/src/tsort.rs index d0a178df2..f094963dc 100644 --- a/src/uu/tsort/src/tsort.rs +++ b/src/uu/tsort/src/tsort.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 clap::{crate_version, Arg, Command}; use std::collections::{BTreeMap, BTreeSet}; use std::fs::File; diff --git a/src/uu/tty/src/tty.rs b/src/uu/tty/src/tty.rs index 4f351b932..96d851d37 100644 --- a/src/uu/tty/src/tty.rs +++ b/src/uu/tty/src/tty.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // * // * Synced with http://lingrok.org/xref/coreutils/src/tty.c diff --git a/src/uu/unexpand/src/unexpand.rs b/src/uu/unexpand/src/unexpand.rs index 74e25d3f8..11ad43060 100644 --- a/src/uu/unexpand/src/unexpand.rs +++ b/src/uu/unexpand/src/unexpand.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) nums aflag uflag scol prevtab amode ctype cwidth nbytes lastcol pctype Preprocess diff --git a/src/uu/uniq/src/uniq.rs b/src/uu/uniq/src/uniq.rs index 330aa23e9..3aac7b834 100644 --- a/src/uu/uniq/src/uniq.rs +++ b/src/uu/uniq/src/uniq.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 clap::{builder::ValueParser, crate_version, Arg, ArgAction, ArgMatches, Command}; use std::ffi::{OsStr, OsString}; diff --git a/src/uu/unlink/src/unlink.rs b/src/uu/unlink/src/unlink.rs index 6091cdcef..85e1ab4f5 100644 --- a/src/uu/unlink/src/unlink.rs +++ b/src/uu/unlink/src/unlink.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. /* last synced with: unlink (GNU coreutils) 8.21 */ diff --git a/src/uu/uptime/src/uptime.rs b/src/uu/uptime/src/uptime.rs index f615d313d..778fbc920 100644 --- a/src/uu/uptime/src/uptime.rs +++ b/src/uu/uptime/src/uptime.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) getloadavg upsecs updays nusers loadavg boottime uphours upmins diff --git a/src/uu/users/src/users.rs b/src/uu/users/src/users.rs index f1f38c873..199882b7e 100644 --- a/src/uu/users/src/users.rs +++ b/src/uu/users/src/users.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (paths) wtmp diff --git a/src/uu/vdir/src/vdir.rs b/src/uu/vdir/src/vdir.rs index 8caa47150..b9d80c401 100644 --- a/src/uu/vdir/src/vdir.rs +++ b/src/uu/vdir/src/vdir.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE file -// * that was distributed with this source code. +// This file is part 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 clap::Command; use std::ffi::OsString; diff --git a/src/uu/wc/src/wc.rs b/src/uu/wc/src/wc.rs index 48b544783..6d5894db0 100644 --- a/src/uu/wc/src/wc.rs +++ b/src/uu/wc/src/wc.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // cSpell:ignore ilog wc wc's diff --git a/src/uu/whoami/src/platform/mod.rs b/src/uu/whoami/src/platform/mod.rs index 57edb1dc5..bc6b2888c 100644 --- a/src/uu/whoami/src/platform/mod.rs +++ b/src/uu/whoami/src/platform/mod.rs @@ -1,9 +1,7 @@ -/* - * This file is part of the uutils coreutils package. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ +// This file is part 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) getusername diff --git a/src/uu/whoami/src/platform/unix.rs b/src/uu/whoami/src/platform/unix.rs index 8288c3978..31ab16fba 100644 --- a/src/uu/whoami/src/platform/unix.rs +++ b/src/uu/whoami/src/platform/unix.rs @@ -1,9 +1,7 @@ -/* - * This file is part of the uutils coreutils package. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ +// This file is part 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::io; diff --git a/src/uu/whoami/src/platform/windows.rs b/src/uu/whoami/src/platform/windows.rs index 44be482c7..aad2eed3d 100644 --- a/src/uu/whoami/src/platform/windows.rs +++ b/src/uu/whoami/src/platform/windows.rs @@ -1,9 +1,7 @@ -/* - * This file is part of the uutils coreutils package. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ +// This file is part 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::io; diff --git a/src/uu/whoami/src/whoami.rs b/src/uu/whoami/src/whoami.rs index 00802633e..cb8bcd9c7 100644 --- a/src/uu/whoami/src/whoami.rs +++ b/src/uu/whoami/src/whoami.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. /* last synced with: whoami (GNU coreutils) 8.21 */ diff --git a/src/uu/yes/src/yes.rs b/src/uu/yes/src/yes.rs index e4cf0180e..e6868d9d8 100644 --- a/src/uu/yes/src/yes.rs +++ b/src/uu/yes/src/yes.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. /* last synced with: yes (GNU coreutils) 8.13 */ diff --git a/src/uucore/src/lib/features/fsext.rs b/src/uucore/src/lib/features/fsext.rs index f526e7fde..52c079e2e 100644 --- a/src/uucore/src/lib/features/fsext.rs +++ b/src/uucore/src/lib/features/fsext.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. //! Set of functions to manage file systems diff --git a/src/uucore/src/lib/features/lines.rs b/src/uucore/src/lib/features/lines.rs index a7f4df76d..3e3c82b3a 100644 --- a/src/uucore/src/lib/features/lines.rs +++ b/src/uucore/src/lib/features/lines.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) //! Iterate over lines, including the line ending character(s). //! diff --git a/src/uucore/src/lib/features/process.rs b/src/uucore/src/lib/features/process.rs index 8e7e46479..c7dff1f05 100644 --- a/src/uucore/src/lib/features/process.rs +++ b/src/uucore/src/lib/features/process.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars) cvar exitstatus // spell-checker:ignore (sys/unix) WIFSIGNALED diff --git a/src/uucore/src/lib/features/signals.rs b/src/uucore/src/lib/features/signals.rs index 423eb19c9..61482024d 100644 --- a/src/uucore/src/lib/features/signals.rs +++ b/src/uucore/src/lib/features/signals.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (vars/api) fcntl setrlimit setitimer // spell-checker:ignore (vars/signals) ABRT ALRM CHLD SEGV SIGABRT SIGALRM SIGBUS SIGCHLD SIGCONT SIGEMT SIGFPE SIGHUP SIGILL SIGINFO SIGINT SIGIO SIGIOT SIGKILL SIGPIPE SIGPROF SIGPWR SIGQUIT SIGSEGV SIGSTOP SIGSYS SIGTERM SIGTRAP SIGTSTP SIGTHR SIGTTIN SIGTTOU SIGURG SIGUSR SIGVTALRM SIGWINCH SIGXCPU SIGXFSZ STKFLT PWR THR TSTP TTIN TTOU VTALRM XCPU XFSZ diff --git a/src/uucore/src/lib/features/sum.rs b/src/uucore/src/lib/features/sum.rs index d4945421e..2b69008de 100644 --- a/src/uucore/src/lib/features/sum.rs +++ b/src/uucore/src/lib/features/sum.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore memmem algo diff --git a/src/uucore/src/lib/macros.rs b/src/uucore/src/lib/macros.rs index d1893dd9a..ad86d5308 100644 --- a/src/uucore/src/lib/macros.rs +++ b/src/uucore/src/lib/macros.rs @@ -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. + // TODO fix broken links #![allow(rustdoc::broken_intra_doc_links)] //! Macros for the uucore utilities. diff --git a/src/uucore/src/lib/parser/parse_size.rs b/src/uucore/src/lib/parser/parse_size.rs index 2ea84e389..a93e0fe66 100644 --- a/src/uucore/src/lib/parser/parse_size.rs +++ b/src/uucore/src/lib/parser/parse_size.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) hdsf ghead gtail ACDBK hexdigit diff --git a/tests/by-util/test_base32.rs b/tests/by-util/test_base32.rs index b8e72cb04..8bb5bda54 100644 --- a/tests/by-util/test_base32.rs +++ b/tests/by-util/test_base32.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // use crate::common::util::TestScenario; diff --git a/tests/by-util/test_du.rs b/tests/by-util/test_du.rs index d365bd87e..9a508da25 100644 --- a/tests/by-util/test_du.rs +++ b/tests/by-util/test_du.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (paths) sublink subwords azerty azeaze xcwww azeaz amaz azea qzerty tazerty tsublink #[cfg(not(windows))] diff --git a/tests/by-util/test_factor.rs b/tests/by-util/test_factor.rs index a14a673a8..2a11363b7 100644 --- a/tests/by-util/test_factor.rs +++ b/tests/by-util/test_factor.rs @@ -1,7 +1,7 @@ // This file is part of the uutils coreutils package. // -// For the full copyright and license information, please view the LICENSE file -// that was distributed with this source code. +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. #![allow(clippy::unreadable_literal)] // spell-checker:ignore (methods) hexdigest diff --git a/tests/by-util/test_groups.rs b/tests/by-util/test_groups.rs index 4f6bb7f1b..47cb89249 100644 --- a/tests/by-util/test_groups.rs +++ b/tests/by-util/test_groups.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 coreutil diff --git a/tests/by-util/test_head.rs b/tests/by-util/test_head.rs index 0e1eafc86..65aeca437 100644 --- a/tests/by-util/test_head.rs +++ b/tests/by-util/test_head.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) bogusfile emptyfile abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstu diff --git a/tests/by-util/test_id.rs b/tests/by-util/test_id.rs index 4174bdde6..5c2a67199 100644 --- a/tests/by-util/test_id.rs +++ b/tests/by-util/test_id.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) coreutil diff --git a/tests/by-util/test_od.rs b/tests/by-util/test_od.rs index 54ac06384..78c4e1b04 100644 --- a/tests/by-util/test_od.rs +++ b/tests/by-util/test_od.rs @@ -1,8 +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. + // spell-checker:ignore abcdefghijklmnopqrstuvwxyz -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. use crate::common::util::TestScenario; use std::env; diff --git a/tests/by-util/test_pinky.rs b/tests/by-util/test_pinky.rs index f266175f5..57413c4c9 100644 --- a/tests/by-util/test_pinky.rs +++ b/tests/by-util/test_pinky.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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::{expected_result, TestScenario}; use pinky::Capitalize; diff --git a/tests/by-util/test_sort.rs b/tests/by-util/test_sort.rs index 0c8af8969..690623c1c 100644 --- a/tests/by-util/test_sort.rs +++ b/tests/by-util/test_sort.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) ints diff --git a/tests/by-util/test_split.rs b/tests/by-util/test_split.rs index de1bb9cdf..c5f32482e 100644 --- a/tests/by-util/test_split.rs +++ b/tests/by-util/test_split.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 xzaaa sixhundredfiftyonebytes ninetyonebytes threebytes asciilowercase fghij klmno pqrst uvwxyz fivelines twohundredfortyonebytes onehundredlines nbbbb use crate::common::util::{AtPath, TestScenario}; diff --git a/tests/by-util/test_stat.rs b/tests/by-util/test_stat.rs index d932b35d6..e918d54e9 100644 --- a/tests/by-util/test_stat.rs +++ b/tests/by-util/test_stat.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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::{expected_result, TestScenario}; diff --git a/tests/by-util/test_tail.rs b/tests/by-util/test_tail.rs index 75abb8eb6..bc89f56a0 100644 --- a/tests/by-util/test_tail.rs +++ b/tests/by-util/test_tail.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) abcdefghijklmnopqrstuvwxyz efghijklmnopqrstuvwxyz vwxyz emptyfile file siette ocho nueve diez MULT // spell-checker:ignore (libs) kqueue diff --git a/tests/by-util/test_test.rs b/tests/by-util/test_test.rs index 91af9033a..2f36a805c 100644 --- a/tests/by-util/test_test.rs +++ b/tests/by-util/test_test.rs @@ -1,9 +1,7 @@ -// // This file is part 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) egid euid pseudofloat diff --git a/tests/by-util/test_truncate.rs b/tests/by-util/test_truncate.rs index 7a0bac6e9..972b4fc5b 100644 --- a/tests/by-util/test_truncate.rs +++ b/tests/by-util/test_truncate.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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) RFILE diff --git a/tests/by-util/test_who.rs b/tests/by-util/test_who.rs index 31b46c3bf..3bacc38c1 100644 --- a/tests/by-util/test_who.rs +++ b/tests/by-util/test_who.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (flags) runlevel mesg diff --git a/tests/by-util/test_whoami.rs b/tests/by-util/test_whoami.rs index 9e6c35be6..d32c4ec24 100644 --- a/tests/by-util/test_whoami.rs +++ b/tests/by-util/test_whoami.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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)] use crate::common::util::expected_result; diff --git a/tests/common/macros.rs b/tests/common/macros.rs index 4f5965d5a..4902ca49b 100644 --- a/tests/common/macros.rs +++ b/tests/common/macros.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. /// Platform-independent helper for constructing a `PathBuf` from individual elements #[macro_export] diff --git a/tests/common/random.rs b/tests/common/random.rs index bf1e6a907..42b6eaa77 100644 --- a/tests/common/random.rs +++ b/tests/common/random.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 rand::distributions::{Distribution, Uniform}; use rand::{thread_rng, Rng}; diff --git a/tests/common/util.rs b/tests/common/util.rs index 8ef5f517a..0fbc58cd5 100644 --- a/tests/common/util.rs +++ b/tests/common/util.rs @@ -1,7 +1,7 @@ -// * This file is part of the uutils coreutils package. -// * -// * For the full copyright and license information, please view the LICENSE -// * file that was distributed with this source code. +// This file is part 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 (linux) rlimit prlimit coreutil ggroups uchild uncaptured scmd SHLVL canonicalized