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

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