aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
2012-04-24Make -d work in ls.Rob Landley
2012-04-24Require -R to recurse, but descend into directories listed on command line.Rob Landley
2012-04-22More work on ls. Now ls -lR sort of works-ish.Rob Landley
2012-04-14Adding lognameElie De Brauwer
2012-04-14Refactor uniq.c a bit.Rob Landley
2012-04-14Rewrite dirtree so we don't need readdir, scandir, and fts.h. Rewrite ls ↵Rob Landley
(from scratch) to use new dirtree infrastructure. (This breaks everything else that currently uses dirtree.)
2012-04-14Use FLAG_ macros for echo optflags.Rob Landley
2012-04-14Match uint64_t with PRIu64 to avoid warnings on 64 bit builds.Rob Landley
2012-04-11toybuf usage enhancement, tabs to spaces, teminal height refreshElie De Brauwer
2012-04-07Replace ?: gcc extension with standard codeKevin Chase
2012-04-09Adding vmstatElie De Brauwer
2012-04-02Adding mountpointElie De Brauwer
2012-03-22Implement comm.Ilya Kuzmich
2012-03-22The -s flag includes staying quiet about missing files.Rob Landley
2012-03-21Test the right variable in NULL guard, and add NOP "s" suffix.Rob Landley
2012-03-19Add string to mode_t parserDaniel Walter
added new function string_to_mode(char *m_string, mode_t base) which parses a given string and converts it to a mode_t. If either + or - are part of m_string the permissions are either added or removed from base. Currently support for permision copy is missing (e.g. g=u), but all other flags should work. Format for m_string: either symbolic modes or octal representation. symbolic modes: [auog][[+-=][rwxst]*] examples: string_to_mode("u=rwx,g=rw,o=r", 0); string_to_mode("a-x", 0777); string_to_mode("0744", 0);
2012-03-19Remove "feature test macros", replace non-portable fdprintf() with standard ↵Rob Landley
fprintf().
2012-03-16The linux header doesn't prototype unshare, and the glibc header introduced ↵Rob Landley
a regression in recent versions inexplicably crediting a linux feature to the FSF, so add the prototype ourselves.
2012-03-15Simplify nanosleep call.Rob Landley
2012-03-14Implement uniq.Georgi Chorbadzhiyski
2012-03-14Default new ch* commands to n until enough is implemented not to break ↵Rob Landley
aboriginal build.
2012-03-13New toys - chmod, chown, and chgrp.Georgi Chorbadzhiyski
2012-03-12Extensive semi-gratuitous refactoring: factor out common code, handle ↵Rob Landley
euid!=uid and egid!=gid cases. (Note: test suite requires root access, possibly container support.)
2012-03-12Tighten up the code a bit, and use actual process group id instead of what ↵Rob Landley
/etc/passwd says.
2012-03-12Redo tail to use optargs and optionally support lseek. Add support to ↵Rob Landley
optargs and llist.c, plus add a test suite entry. Still no -f support though.
2012-03-10Fix nanosleep() usage.Georgi Chorbadzhiyski
2012-03-09Replace deprecated libc function with its totally renamed equivalent.Rob Landley
2012-03-09Work around glibc regression by including Linux header directly.Rob Landley
2012-03-08More stabs at getting #includes right, and moving off of deprecated functions.Rob Landley
2012-03-07Fix mkdir -p to accept paths that already exist, and detect path ending in a ↵Rob Landley
file.
2012-03-07Consolidate headers.Rob Landley
2012-03-07Silence a couple pointless warnings.Rob Landley
2012-03-06Cleanups: use perror_msg() and make mode a global.Rob Landley
2012-03-06Add mkfifo.Georgi Chorbadzhiyski
2012-03-06Comment and whitespace tweaks.Rob Landley
2012-03-05mkdir cleanups: Let umask do its thing at the syscall level, have mode be a ↵Rob Landley
global to prepare for -m, use do_blah name loopfiles() usually calls, one less redundant mkdir() call, go ahead and modify writeable args instead of strdup(), return before restoring / so error message is better, use perror_msg().
2012-03-05Add mkdir.Georgi Chorbadzhiyski
2012-03-05Fix xargs -0 option.Rob Landley
2012-03-05whoami: fix toy description, no code changesPere Orga
2012-03-04Add clear.Rob Landley
2012-03-04Add tac. (Shell wrapper is smaller, but all-in-one static binary is ↵Rob Landley
compelling use case.)
2012-03-04Minor optimization.Rob Landley
2012-03-04Add whoami.Georgi Chorbadzhiyski
2012-03-04Add longopt, refactor so only one instance of each loop, requre = as part of ↵Rob Landley
match, update exit code.
2012-03-03Implement printenv command.Georgi Chorbadzhiyski
2012-03-03Make floating point support depend on TOYBOX_FLOAT, make 0.1m work.Rob Landley
2012-03-03Add fraction and extension support to sleep.Georgi Chorbadzhiyski
2012-03-03Add -A to lsAndre Renaud
2012-03-02This uses floating point.Rob Landley
2012-03-02Add copyright notice, fluff out help text, use xexec().Rob Landley