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

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