Pyokyeong Son
ea175ce252
mkdir: permissions respects umask
...
- hardcoded default permissions changed to ones defined by umask
2022-02-17 07:37:55 +00:00
Sylvestre Ledru
155647f6a8
Merge pull request #3134 from tertsdiepraam/docs-test-coverage
...
docs: add page with test coverage
2022-02-14 20:54:49 +01:00
DevSabb
6d6371741a
include io-blksize parameter ( #3064 )
...
* include io-blksize parameter
* format changes for including io-blksize
Co-authored-by: DevSabb <devsabb@local>
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2022-02-14 19:47:18 +01:00
Terts Diepraam
ac11d8793e
docs: add page with test coverage
2022-02-13 23:14:13 +01:00
Kartik Sharma
6c1a655512
This commit removes empty line from USAGE string in src/uu/od/src/od.rs. ( #3074 )
...
This change is needed to fix missing USAGE section for `od` in user docs.
With reference to this issue
https://github.com/uutils/coreutils/issues/2991 , and missing USAGE
section from `od docs` at
https://uutils.github.io/coreutils-docs/user/utils/od.html , it was
found that the USAGE for od app was starts with an empty line and uudoc
only takes 1st line for using in USAGE section in docs.
This resulted in empty line in usage section for `od`
2022-02-13 21:39:11 +01:00
Terts Diepraam
351a56d3fd
Merge pull request #3133 from sylvestre/issue-3132
...
expr: Use chars().count() as we can have some multibytes chars
2022-02-13 17:48:37 +01:00
Sylvestre Ledru
7225fb6c24
expr: Use chars().count() as we can have some multibytes chars
...
Partially fixes #3132
Fixes one of the test of tests/misc/expr-multibyte
2022-02-13 14:19:25 +01:00
Terts Diepraam
1167d811d5
Merge pull request #2753 from sylvestre/gnu-locale
...
gnu/test: add the iso en_us locale to help with some tests
2022-02-13 12:59:33 +01:00
Terts Diepraam
85c4fb3981
Merge pull request #3129 from jfinkels/dd-partial-records
...
dd: correctly account for partial record written
2022-02-13 12:52:09 +01:00
Sylvestre Ledru
78e2fe6ad2
Merge pull request #3090 from rivy/maint.utils
...
maint ~ configuration and utility clean-up and maintenance
2022-02-13 09:55:37 +01:00
Sylvestre Ledru
bd47c060dc
Merge pull request #3126 from jfinkels/df-same-order
...
df: always produce the same order in output table
2022-02-13 09:54:28 +01:00
Sylvestre Ledru
913500913b
Merge pull request #3130 from davide125/url
...
uucore, uucore_procs: use the correct URLs in the crate manifest
2022-02-13 09:53:37 +01:00
Davide Cavalca
11688408a1
uucore, uucore_procs: use the correct URLs in the crate manifest
2022-02-12 21:31:39 -08:00
Jeffrey Finkelstein
3ada6af19d
dd: correctly account for partial record written
...
Correct the accounting for partial records written by `dd` to the
output file. After this commit, if fewer than `obs` bytes are written,
then that is counted as a partial record. For example,
$ printf 'abc' | dd bs=2 status=noxfer > /dev/null
1+1 records in
1+1 records out
That is, one complete record and one partial record are read from the
input, one complete record and one partial record are written to the
output. Previously, `dd` reported two complete records and zero
partial records written to the output in this case.
2022-02-12 22:38:25 -05:00
Jeffrey Finkelstein
b6d1aa3e73
df: always produce the same order in output table
...
Change the `filter_mount_list()` function so that it always produces
the same order of `MountInfo` objects. This change ultimately results
in `df` printing its table of filesystems in the same order on each
execution. Previously, the table was in an arbitrary order because the
`MountInfo` objects were read from a `HashMap`.
Fixes #3086 .
2022-02-12 21:14:14 -05:00
Jeffrey Finkelstein
042e537ca8
df: refactor is_included(), mount_info_lt() funcs
...
Factor two helper functions, `is_included()` and `mount_info_lt()`,
from the `filter_mount_list()` function.
2022-02-12 21:06:37 -05:00
Roy Ivy III
dc223309e7
maint/util ~ (run-gnu-tests) increase timeout to allow for longer 'debug' test runs
2022-02-12 15:27:00 -06:00
Roy Ivy III
988fd658ae
maint/util ~ (run-gnu-tests/docs) fix incorrect comment
2022-02-12 15:26:59 -06:00
Roy Ivy III
02aa5ea784
maint/util ~ (build-gnu) fix missing 'b3sum' for *sum binary creation
2022-02-12 15:26:59 -06:00
Roy Ivy III
40b9ebf90e
docs ~ (util) remove outdated GNULIB comments
2022-02-12 15:26:59 -06:00
Roy Ivy III
38ac68ff33
maint/CICD ~ (GnuTests) remove unneeded GNULIB references
2022-02-12 15:26:59 -06:00
Roy Ivy III
ba2bf79099
maint/dev ~ (VSCode) update cspell
settings
2022-02-12 15:26:59 -06:00
Roy Ivy III
c2e17e5f37
maint/util ~ improve/refactor 'build-gnu' & 'run-gnu-test'
...
- add more logging for better fault tracking
- generalize for use in either RELEASE or DEBUG build mode (default to 'release')
- improve variable naming precision/specificity
2022-02-12 15:26:59 -06:00
Roy Ivy III
29679ba337
maint/CICD ~ (GnuTests) refactor GnuTests GHA config
...
- combine gnu/gnulib into single repository checkout
- code consolidation
- DRY changes
- variable consolidation and renaming
- job/step naming normalization
2022-02-12 15:26:59 -06:00
Roy Ivy III
b7676c07e9
maint/refactor ~ (util) minor refactoring of util shell scripts
2022-02-12 15:26:59 -06:00
Roy Ivy III
f477a41aee
maint/dev ~ add *empty* rustfmt configuration prompt devs to use cargo fmt
2022-02-12 15:26:59 -06:00
Roy Ivy III
f75cfbdebc
docs ~ (CICD/util) add/revise spell-checker exceptions
2022-02-12 15:26:59 -06:00
Roy Ivy III
a970c8d45d
maint/util ~ fix shellcheck
complaints
2022-02-12 15:26:59 -06:00
Roy Ivy III
fdd11e0637
maint/polish ~ (util) shfmt -w -i=4 -ci
2022-02-12 15:26:59 -06:00
Roy Ivy III
3a13857dc3
maint/util ~ add dwr
(for interactive removal of workflow runs from CLI)
2022-02-12 15:26:59 -06:00
Roy Ivy III
0b8f54b739
maint/dev ~ (VSCode) add shell script formatter to recommendations
2022-02-12 15:26:59 -06:00
Roy Ivy III
1711ea0f5b
maint/dev ~ update EditorConfig
2022-02-12 15:26:59 -06:00
Roy Ivy III
fb4b523353
maint/CICD ~ (GnuTests) add 'repo_default_branch' to VARs
2022-02-12 15:26:59 -06:00
Roy Ivy III
ee40e99437
maint/CICD ~ (GnuTests) use last 'completed' GnuTests on default branch as reference
2022-02-12 15:26:59 -06:00
Sylvestre Ledru
4009bf9a89
Merge pull request #3124 from jfinkels/head-enum-self
...
head: use Self instead of enum name Mode in method
2022-02-12 22:24:44 +01:00
Jeffrey Finkelstein
b13718e742
head: use Self instead of enum name Mode in method
2022-02-12 14:45:45 -05:00
Sylvestre Ledru
25490b2100
gnu/test: add the iso en_us locale to help with some tests
2022-02-12 19:20:17 +01:00
Sylvestre Ledru
f9e04ae5ef
Merge pull request #2966 from allan-silva/wc-files0-from-opt
...
wc: implement files0-from option
2022-02-12 19:05:05 +01:00
Sylvestre Ledru
0ed5e2c884
Merge pull request #2957 from jfinkels/head-preserve-no-final-newline
...
head: don't add trailing newline to end of file that didn't originally have one
2022-02-12 19:03:13 +01:00
Sylvestre Ledru
0f17ef2028
Merge pull request #2906 from jfinkels/head-better-mode
...
head: incorporate "all but last" option into Mode
2022-02-12 19:01:49 +01:00
Sylvestre Ledru
142c24e579
Merge pull request #2982 from Dr-Emann/paste_cleanup
...
paste: Fixes and cleanup
2022-02-12 19:00:39 +01:00
Sylvestre Ledru
c67a64c9df
Merge pull request #3121 from serhansekman/pr-help-page
...
pr: add missing about and version to documentation
2022-02-12 18:13:31 +01:00
Sylvestre Ledru
9665088a91
Merge pull request #3115 from tertsdiepraam/remove-docs-make
...
make: add clean target for docs
2022-02-12 18:12:35 +01:00
alextibbles
d9c2acc2ed
update to sha 0.10.0 ( #3110 )
...
* update to sha 0.10.0
* correct formatting
2022-02-12 18:12:02 +01:00
Terts Diepraam
d4a4c5426f
make: add clean target for docs
2022-02-12 11:44:07 +01:00
Hanif Ariffin
45a1b7e4bb
ls: refactor out padding calculations ( #3072 )
...
* Refactor padding calculations into a function
* Propagate all write and (most) flush errors
2022-02-12 11:39:17 +01:00
Sylvestre Ledru
c2e3f4109c
Merge pull request #2944 from jfinkels/truncate-fifo
...
truncate: error when trying to truncate a fifo
2022-02-12 11:36:17 +01:00
Sylvestre Ledru
52282740dd
Merge pull request #3078 from ndd7xv/dd-progress-fix
...
dd: make status=progress rewrite once/sec
2022-02-12 11:34:21 +01:00
Sylvestre Ledru
090fb07361
Merge pull request #3066 from jfinkels/dd-skip-beyond-file
...
dd: show warning if skipping past end of input
2022-02-12 11:34:06 +01:00
Sylvestre Ledru
6b6d5ee7db
Merge pull request #2827 from jfinkels/split-std-io-copy
...
split: use std::io::copy() with new writer implementation to improve maintainability and speed
2022-02-12 11:33:12 +01:00