Rob Landley 72e7e3821b Add tar --strip-components. vor 2 Jahren
..
README aa777fe07d Add README file to each toys/ directory, teach build infrastructure to get fancy name from that. This means adding new directories shouldn't require touching build scripts. vor 11 Jahren
basename.c 139faf5195 Basename can have suffixes starting with a dash. vor 4 Jahren
cal.c d9cf7a0475 Fix leap years, add 3 argument (day month year) mode, cleanup. vor 2 Jahren
cat.c 763e85820b Canonicalize the usage: lines for the POSIX toys. vor 4 Jahren
chgrp.c a4b84d92d9 Remove unused function. vor 3 Jahren
chmod.c e63c996742 chmod: fix +X. vor 3 Jahren
cksum.c 763e85820b Canonicalize the usage: lines for the POSIX toys. vor 4 Jahren
cmp.c f4f5fd5d78 Add cmp -n and wire up skip1 and skip2, plus new test, FLAG() conversions... vor 2 Jahren
comm.c 2243f6f2ad comm: stop using get_line(). vor 2 Jahren
cp.c eee419c1d7 flags.h can #define its own CLEANUP_ macros for the next #include vor 2 Jahren
cpio.c b1c071ee03 Add options for reproducibility tests. vor 3 Jahren
cut.c d319b974b8 Help text tweak. vor 2 Jahren
date.c b93f5908e2 date: add -s. vor 3 Jahren
df.c b44af2dbc1 Another getuid->geteuid switch. vor 2 Jahren
dirname.c d1d751e4be dirname: support multiple arguments. vor 5 Jahren
du.c a775773f6e du: consistent --help capitalization. vor 4 Jahren
echo.c 1de4b25999 Tighten up echo help text. vor 3 Jahren
env.c 284a27675c Fix env properly: env -i uses old $PATH, but use new PATH= when redefined. vor 2 Jahren
expand.c d3025b14b9 Convert utf8towc from wchar_t to unsigned (to match wctoutf8). vor 3 Jahren
false.c 9c52df1131 Add MAYFORK to more pseudo-builtins. vor 4 Jahren
file.c 7459474343 file(1): call out apparently invalid ELF files. vor 2 Jahren
find.c cfa8d336db Fix -newerXY and add test. vor 2 Jahren
getconf.c 59e16e10b4 Yank some unnecessarily exported global variables that should be static. vor 2 Jahren
grep.c c3f3f842c5 Replace \033 with \e in strings. vor 2 Jahren
head.c 763e85820b Canonicalize the usage: lines for the POSIX toys. vor 4 Jahren
iconv.c d2f6a12763 Fix iconv and tests on Mac. vor 4 Jahren
id.c e6aac70496 id: fix Android issues. vor 4 Jahren
kill.c eee419c1d7 flags.h can #define its own CLEANUP_ macros for the next #include vor 2 Jahren
link.c 7aa651a6a4 Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. vor 11 Jahren
ln.c 49feb50f22 Add ln -r and relative_path() to lib, plus test. vor 4 Jahren
logger.c 664c417af5 Add lots of "static" annotations, make a couple things use FLAG() macros, etc. vor 3 Jahren
ls.c c3f3f842c5 Replace \033 with \e in strings. vor 2 Jahren
mkdir.c 763e85820b Canonicalize the usage: lines for the POSIX toys. vor 4 Jahren
mkfifo.c 009b55edc4 Convert more commands to the new option/GLOBALS code style. vor 5 Jahren
nice.c 763e85820b Canonicalize the usage: lines for the POSIX toys. vor 4 Jahren
nl.c 37f94908b8 Cleanup nl (it had a stale TODO entry). vor 2 Jahren
nohup.c 763e85820b Canonicalize the usage: lines for the POSIX toys. vor 4 Jahren
od.c d588ba7443 Improve help consistency. vor 5 Jahren
paste.c 2a8e198104 Missed a couple in the wchar_t -> unsigned conversion. vor 3 Jahren
patch.c 15cbb92dff Move get_line() out of lib/ into last user. vor 2 Jahren
printf.c 7348ee6049 Add mayfork to printf vor 4 Jahren
ps.c d9301d2b7e Add top -h to show bar graphs (start of htop plumbing). vor 2 Jahren
pwd.c 9c52df1131 Add MAYFORK to more pseudo-builtins. vor 4 Jahren
renice.c 763e85820b Canonicalize the usage: lines for the POSIX toys. vor 4 Jahren
rm.c 551f355d24 Minor tweak. vor 3 Jahren
rmdir.c 855eca3eaf Nir Lichtman pointed out that rm -p shouldn't try to rmdir / at the end. vor 3 Jahren
sed.c b607b57909 Fix sed bug with multiple w to same file. vor 2 Jahren
sleep.c 81859b8a57 timeout: use the monotonic clock. vor 2 Jahren
sort.c b0a4a96e36 Remove non-posix "sort -h". vor 2 Jahren
split.c 3fbacb1f5c Add split -n test, handle more than one leftover byte, clarify help text. vor 3 Jahren
strings.c 747e296ff6 Add FLAG(x) macro, expanding to (toys.optflags & FLAG_##x) vor 5 Jahren
tail.c 4c450efa50 tail: add the long option synonyms for -n and -c. vor 2 Jahren
tar.c 72e7e3821b Add tar --strip-components. vor 2 Jahren
tee.c fdfffae6da Minor cleanup. vor 3 Jahren
test.c 664c417af5 Add lots of "static" annotations, make a couple things use FLAG() macros, etc. vor 3 Jahren
time.c 46a369dc38 File time's realtime output and switch to clock_gettime(). vor 2 Jahren
touch.c d78f05e91b Make touch use xparsedate() (result: -t and -d the same, autodetects format), vor 5 Jahren
true.c 322eb845a9 Remove unnecessary MAYFORK. vor 4 Jahren
tty.c 34e4bfb531 Minor tweaks. vor 2 Jahren
ulimit.c 477553572f ulimit: include descriptions and units. vor 3 Jahren
uname.c 7af571d485 Move the sys/personality.h import Mac can't do into portability.h. vor 2 Jahren
uniq.c 763e85820b Canonicalize the usage: lines for the POSIX toys. vor 4 Jahren
unlink.c b07b8878da Remove old GNU style `' quoting. vor 4 Jahren
uudecode.c 039d59d227 Replace various x = x declarations with QUIET macro to shut up gcc. vor 2 Jahren
uuencode.c 763e85820b Canonicalize the usage: lines for the POSIX toys. vor 4 Jahren
wc.c d3025b14b9 Convert utf8towc from wchar_t to unsigned (to match wctoutf8). vor 3 Jahren
who.c fa8a717bb9 who: make the output more like coreutils who. vor 5 Jahren
xargs.c ab8f7729c0 xargs: fix help formatting. vor 3 Jahren

README

Posix commands

Commands defined in POSIX-2008, also known as the Single Unix
Specification version 4, available online at
http://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html