Collection of commonly available Unix tools
DateCommit messageAuthorFiles+-
cmd/rm.1: rephrase -d descriptionHaelwenn (lanodan) Monnier1+2-2
test-cmd/yes.t: filter out error messages from echoHaelwenn (lanodan) Monnier1+4-1
cmd/echo: More detailed error messagesHaelwenn (lanodan) Monnier2+16-10
cmd/rm: Add support for -d optionHaelwenn (lanodan) Monnier3+28-7
cmd/yes: newHaelwenn (lanodan) Monnier5+75-2
cmd/arch: newHaelwenn (lanodan) Monnier4+64-1
cmd/mkdir: Fix TOCTOU issues with -pHaelwenn (lanodan) Monnier1+52-31
cmd/strings: Remove unused *errstrHaelwenn (lanodan) Monnier1+0-2
cmd/strings: Change LLONG_{MIN,MAX} to the appropriate LONG_{MIN,MAX}Haelwenn (lanodan) Monnier1+2-2
cmd/mkdir: use strlen()-1 in the inline dirnameHaelwenn (lanodan) Monnier1+1-1
cmd/mkdir: Handle getopt errors, abort on defaultHaelwenn (lanodan) Monnier1+11-0
posix_utilities.txt: Accept getconf(1) from NetBSD/AlpineHaelwenn (lanodan) Monnier1+1-1
cmd/mkdir: newHaelwenn (lanodan) Monnier7+261-3
test-lib/strtodur.c: Remove NULL pointer test caseHaelwenn (lanodan) Monnier1+0-12
README: rephrase things a bit, util-linux kind of stuff is outHaelwenn (lanodan) Monnier1+6-5
README: Acknowledge cram abandonnementHaelwenn (lanodan) Monnier1+1-1
cmd/df: Only pad with spaces when stdout is a TTYHaelwenn (lanodan) Monnier3+38-33
cmd/cat: Write a clearer splice loop for fd_copyHaelwenn (lanodan) Monnier1+20-19
cmd/env: Rename export() to do_export()Haelwenn (lanodan) Monnier1+2-2
cmd/cat.c: Use getopt instead of hacksHaelwenn (lanodan) Monnier2+38-18
configure: Fix splice check_conftestHaelwenn (lanodan) Monnier2+2-6
cmd/*.c: Add static to non-main functionsHaelwenn (lanodan) Monnier10+18-17
cmd/cat: __linux__ → HAS_SPLICEHaelwenn (lanodan) Monnier1+3-3
configure: Add test for splice(2)Haelwenn (lanodan) Monnier3+37-1
cmd/realpath: add flawfinder ignoresHaelwenn (lanodan) Monnier1+2-1
cmd/logname: switch from getlogin to $LOGNAMEHaelwenn (lanodan) Monnier2+11-19
Makefile: Add `--minlevel=3` to flawfinder argumentsHaelwenn (lanodan) Monnier1+1-1
Makefile: Mark check-man target as PHONYHaelwenn (lanodan) Monnier1+1-0
test-cmd/logname: Skip on glibc due to utmp usageHaelwenn (lanodan) Monnier3+27-9
cmd/date.1.in: Detail POSIX non-complianceHaelwenn (lanodan) Monnier1+2-1
cmd/rm.c: ignore flawfinder on vfprintfHaelwenn (lanodan) Monnier1+1-0
posix_utilities.txt: Add copyright informationHaelwenn (lanodan) Monnier1+4-1
cmd/logname: Ignore flawfinder about getlogin(3)Haelwenn (lanodan) Monnier1+1-0
cmd/df: Add support for argumentsHaelwenn (lanodan) Monnier3+75-33
test-cmd/rm.t: FreeBSD requires a path for find(1)Haelwenn (lanodan) Monnier1+1-1
cmd/rm: Avoid non-portable AT_SYMLINK_NOFOLLOW by skipping symlinksHaelwenn (lanodan) Monnier2+15-6
lib/iso_parse: Handle FreeBSD 14.0 mktime setting errno as side-effectHaelwenn (lanodan) Monnier1+6-7
lib/iso_parse: Reset errno after setting *errstrHaelwenn (lanodan) Monnier1+11-3
lib/iso_parse: Correctly initialize struct tmHaelwenn (lanodan) Monnier1+9-2
test-cmd/base64:devfull: NetBSD&FreeBSD gives a different errno statusHaelwenn (lanodan) Monnier1+7-3
cmd/base64: check errno after fwrite instead of return valueHaelwenn (lanodan) Monnier1+2-1
lib/strtodur: assert(errno == 0)Haelwenn (lanodan) Monnier1+4-2
lib/mode: assert(errno == 0)Haelwenn (lanodan) Monnier1+2-1
lib/iso_parse: assert(errno == 0)Haelwenn (lanodan) Monnier1+6-2
cmd/touch: assert(errno == 0)Haelwenn (lanodan) Monnier1+2-0
cmd/strings: assert(errno == 0)Haelwenn (lanodan) Monnier1+6-1
cmd/chmod: assert(errno == 0)Haelwenn (lanodan) Monnier1+16-1
cmd/cat: assert(errno == 0)Haelwenn (lanodan) Monnier1+14-1
posix_utilities.txt: Won't do kill(1), signals availibility depends on the OSHaelwenn (lanodan) Monnier1+1-1
test-cmd/rm.t: Make sure all files got removedHaelwenn (lanodan) Monnier1+8-0
cmd/base64: assert(errno == 0)Haelwenn (lanodan) Monnier1+14-0
cmd/rm: Add assert(errno == 0) before functions known to change errnoHaelwenn (lanodan) Monnier1+31-18
cmd/rm: Reset errno before every call which might set itHaelwenn (lanodan) Monnier1+14-1
cmd/rm: Pass correct argv to do_unlinkat accumulated pathHaelwenn (lanodan) Monnier2+26-1
cmd/rm: Add support for -R optionHaelwenn (lanodan) Monnier1+3-0
cmd/rm: Don't follow symlinks for write-checkHaelwenn (lanodan) Monnier2+9-4
cmd/logname: newHaelwenn (lanodan) Monnier6+66-3
posix_utilities.txt: newHaelwenn (lanodan) Monnier1+161-0
README: Add note about utmp/wtmpHaelwenn (lanodan) Monnier1+1-0
cmd/rmdir: newHaelwenn (lanodan) Monnier6+182-2
cmd/rm: When -f is passed, lack of operands isn't an errorHaelwenn (lanodan) Monnier2+14-0
cmd/rm: When -f is passed, stat errors do not change error statusHaelwenn (lanodan) Monnier3+10-3
lib/humanize: Add comment about how dtosi worksHaelwenn (lanodan) Monnier1+3-0
lib/humanize: Rename quotient to exponantHaelwenn (lanodan) Monnier2+5-5
cmd/df: Add support for -t optionHaelwenn (lanodan) Monnier2+63-32
cmd/*.1: Use my +utils@ alias in Author entryHaelwenn (lanodan) Monnier27+27-27
cmd/realpath: NewHaelwenn (lanodan) Monnier4+294-1
cmd/rm.1: Fix styleHaelwenn (lanodan) Monnier1+2-1
cmd/chroot: Add length-check on $SHELLHaelwenn (lanodan) Monnier1+18-6
cmd/rm: NetBSD <10 and fdopendir strikes againHaelwenn (lanodan) Monnier1+6-0
test-cmd/rm.t: Handle getdents non-determinismHaelwenn (lanodan) Monnier1+2-2
cmd/rm: implement verbose modeHaelwenn (lanodan) Monnier3+15-1
cmd/rm: newHaelwenn (lanodan) Monnier3+394-0
cmd/chmod: Add newline on portability warningHaelwenn (lanodan) Monnier1+1-1
cmd/echo.1: Put -n in SYNOPSIS, use OPTIONS/SEE ALSO sectionsHaelwenn (lanodan) Monnier1+16-17
LICENSES/WTFPL.txt: Add (for lib/absu.h)Haelwenn (lanodan) Monnier1+11-0
Makefile: Add check-man, checks if all EXEs have a manpageHaelwenn (lanodan) Monnier1+4-1
cmd/tee.1: newHaelwenn (lanodan) Monnier1+35-0
cmd/tee: implement -iHaelwenn (lanodan) Monnier1+5-2
cmd/*.1: s;is compliant;should be compliant;Haelwenn (lanodan) Monnier6+6-6
cmd/tty.1: newHaelwenn (lanodan) Monnier1+32-0
cmd/pwd.1: newHaelwenn (lanodan) Monnier1+25-0
Fix remaining parts of copyright date range simplificationHaelwenn (lanodan) Monnier22+22-22
cmd/seq: Add -lm, remainder → fmodHaelwenn (lanodan) Monnier2+3-3
cmd/seq: Add -t option (NetBSD inspired)Haelwenn (lanodan) Monnier3+18-4
cmd/seq.1: newHaelwenn (lanodan) Monnier1+42-0
cmd/seq: Switch to double to match common implementationsHaelwenn (lanodan) Monnier1+53-57
README: improve LDSTATIC phrasingHaelwenn (lanodan) Monnier1+1-1
cmd/seq: handle missing option operandHaelwenn (lanodan) Monnier1+4-0
cmd/seq: implement -w optionHaelwenn (lanodan) Monnier2+67-12
cmd/seq: Only use custom separator between numbersHaelwenn (lanodan) Monnier2+14-3
cmd/seq: split absolute function to lib/absu.hHaelwenn (lanodan) Monnier3+47-18
test-cmd/Kyuafile: Make each test require it's cmdHaelwenn (lanodan) Monnier1+23-21
cmd/chmod: fdopendir(3) under NetBSD <10 workaroundHaelwenn (lanodan) Monnier1+5-0
lib/mode: Improve error message for [89]Haelwenn (lanodan) Monnier3+10-5
test-cmd/chmod: newHaelwenn (lanodan) Monnier2+29-0
cmd/chmod: Fix octal formattingHaelwenn (lanodan) Monnier1+3-3
cmd/chmod: Fix path printed in error messagesHaelwenn (lanodan) Monnier1+23-33
test-cmd/df: newHaelwenn (lanodan) Monnier2+25-0
Simplify copyright date range to just 2017Haelwenn (lanodan) Monnier72+72-72
lib/*mode.c: S_ISVTX & al. are from XSI not simply POSIXHaelwenn (lanodan) Monnier2+2-0
cmd/chmod: Add manpageHaelwenn (lanodan) Monnier2+92-1
coreutils.txt,lsb_commands.txt: chmod is DoneHaelwenn (lanodan) Monnier2+2-2
cmd/chmod: Add -v option, only fchmodat(2) on different modeHaelwenn (lanodan) Monnier1+35-23
cmd/chmod: Add -c optionHaelwenn (lanodan) Monnier2+44-9
lib/symbolize_mode.c: newHaelwenn (lanodan) Monnier5+110-1
cmd/chmod: newHaelwenn (lanodan) Monnier2+174-0
lib/mode.c: newHaelwenn (lanodan) Monnier7+659-4
coreutils.txt,lsb_commands.txt: df is DoneHaelwenn (lanodan) Monnier2+2-2
cmd/df: Add -l optionHaelwenn (lanodan) Monnier2+34-4
test-cmd: skip rather than xfail on test cases with portability issuesHaelwenn (lanodan) Monnier8+27-27
test-cmd: ignore LD_PRELOAD=libsandbox.so when LDSTATIC is non-emptyHaelwenn (lanodan) Monnier3+12-5
cmd/df: align columns with basic printfHaelwenn (lanodan) Monnier2+27-16
cmd/df: Add -T and -x optionsHaelwenn (lanodan) Monnier2+70-15
cmd/df: Add manpageHaelwenn (lanodan) Monnier1+47-0
cmd/df: Add support for -a optionHaelwenn (lanodan) Monnier1+50-11
cmd/df: escape getmntent output, note on musl prior to 1.2.5Haelwenn (lanodan) Monnier1+21-40
coreutils.txt: refuse users and whoHaelwenn (lanodan) Monnier1+2-2
coreutils.txt: base64 is doneHaelwenn (lanodan) Monnier1+1-1
test-cmd/base64: Add multiline(76 chars) and oneliner(0 NL) casesHaelwenn (lanodan) Monnier5+372-0
cmd/df: newHaelwenn (lanodan) Monnier5+244-0
.reuse/dep5: authorized_keys.gitHaelwenn (lanodan) Monnier1+2-2
cmd/date: _XOPEN_SOURCE for strptimeHaelwenn (lanodan) Monnier1+2-2
cmd/chroot: Remove _POSIX_C_SOURCE, chroot(2) isn'tHaelwenn (lanodan) Monnier1+3-4
authorized_keys.git: NewHaelwenn (lanodan) Monnier1+3-0
Add LDSTATICHaelwenn (lanodan) Monnier3+7-4
README: Add "Design differences" sectionHaelwenn (lanodan) Monnier1+4-0
cmd/tty: Prefix "tty: " in perror stringHaelwenn (lanodan) Monnier1+1-1
cmd/nproc: Prefix "nproc: " in perror stringHaelwenn (lanodan) Monnier1+1-1
cmd/id: Prefix "id: " in perror stringHaelwenn (lanodan) Monnier1+3-3
cmd/base64: Add fflush/ferror checksHaelwenn (lanodan) Monnier1+35-1
cmd/basename: define _POSIX_C_SOURCEHaelwenn (lanodan) Monnier1+2-0
cmd/base64: Add -w optionHaelwenn (lanodan) Monnier2+41-23
cmd/base64.1: New manpageHaelwenn (lanodan) Monnier1+35-0
cmd/nproc.c: formattingHaelwenn (lanodan) Monnier1+2-2
cmd/date.1.in: Newline after period [lint]Haelwenn (lanodan) Monnier1+2-1
Makefile: reuse --quietHaelwenn (lanodan) Monnier1+1-1
cmd/base64: Add decoding abilityHaelwenn (lanodan) Monnier3+156-78
cmd/cat.1: Add some examplesHaelwenn (lanodan) Monnier1+18-0
cmd/link.1: Simplify .Nd syntaxHaelwenn (lanodan) Monnier1+1-3
cmd/date.1.in: Fix syntaxHaelwenn (lanodan) Monnier1+4-2
cmd/cat.1: Fix syntaxHaelwenn (lanodan) Monnier1+3-1
/build/cmd/.keep: Add placeholderHaelwenn (lanodan) Monnier1+0-0
cmd/date: Add support for `-f now_format now`Haelwenn (lanodan) Monnier7+111-26
Use m4 instead of soelimHaelwenn (lanodan) Monnier6+10-10
lib/iso_parse: Improve error handling with adding **errstr argumentHaelwenn (lanodan) Monnier5+61-15
Use soelim(1) to unify documentation related to lib/iso_parseHaelwenn (lanodan) Monnier9+171-144
cmd/nproc.1: NewHaelwenn (lanodan) Monnier2+32-4
cmd/id.1: NewHaelwenn (lanodan) Monnier1+55-0
test-lib/strtodur.c: Fix typesHaelwenn (lanodan) Monnier1+2-2
LICENSES/CC0-1.0.txt: AddHaelwenn (lanodan) Monnier1+121-0
test-cmd/sleep.t: Update match for muslHaelwenn (lanodan) Monnier1+1-1
test-cmd/tee: Stop writing to ./-Haelwenn (lanodan) Monnier1+0-2
test-cmd/sleep.t: Re-introduceHaelwenn (lanodan) Monnier1+19-0
test-lib/strtodur: Remove, ignore, make cleanHaelwenn (lanodan) Monnier3+4-1
lib/strtodur.c: Add missing _POSIX_C_SOURCE defineHaelwenn (lanodan) Monnier1+2-1
test-cmd/Kyuafile: Remove errorneous sleep from the listHaelwenn (lanodan) Monnier1+0-1
test-cmd/date: Test fractional secondsHaelwenn (lanodan) Monnier1+2-0
Makefile: .PHONY: cleanHaelwenn (lanodan) Monnier1+1-0
lib/strtodur: Extract from cmd/sleepHaelwenn (lanodan) Monnier12+266-126
cmd/touch: Use lib/bitmasks.h macrosHaelwenn (lanodan) Monnier1+4-3
lib/bitmasks.h: Create macros for bitmasks manipulationHaelwenn (lanodan) Monnier1+9-0
cmd/sleep: handle sscanf not changing errnoHaelwenn (lanodan) Monnier1+16-7
test-cmd/sleep.t: Don't test wallclock, accept musl errorsHaelwenn (lanodan) Monnier1+6-13
README: Fix builds.sr.ht URLHaelwenn (lanodan) Monnier1+1-1
.builds: "make test" → "make check"Haelwenn (lanodan) Monnier3+7-7
Update description and READMEHaelwenn (lanodan) Monnier39+53-47
Extract from utilsHaelwenn (lanodan) Monnier96+6250-0