aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
AgeCommit message (Collapse)Author
2013-08-18Fix usage: lines for a couple commands.Rob Landley
2013-08-18Cleanup du.Rob Landley
2013-08-16Normalize df menu entry and tweak help text.Rob Landley
2013-08-01Need to specify bool for CP_MV_MORE config symbol to avoid warnings.Rob Landley
2013-08-01ls --color should depend on LS in menuconfig.Rob Landley
2013-07-31Move renice from pending to posix, default y, fix link to standard.Rob Landley
2013-07-18Replace users of xexec(toys.optargs) with xexec_optargs(0) to avoid ↵Rob Landley
free/reuse bug during argument parsing.
2013-07-17Add timeout, factoring out common code from sleep.Rob Landley
2013-07-06This inlines CRC64, and nothing more.Isaac Dunham
The functions involved were called only once.
2013-07-03here's a version of paste. It doesn't deal with wide characters yet andFelix Janda
likely behaves very badly when given too many files or delimiters.
2013-07-01Make ls output major, minor for block devices.0.4.5Rob Landley
2013-06-30First pass at ls --colorRob Landley
2013-06-30Condense ls help text.Rob Landley
2013-06-30Fix another segfault in ls -C when terminal size is 0x0.Rob Landley
2013-06-22Implement mv as an extension of cp.Rob Landley
2013-06-16Implement split.Rob Landley
2013-06-02Stat cleanup.Rob Landley
lib: rename format_mode() to mode_to_string() (echoing string_to_mode), make it take a normal char * argument. stat: collapse big switch/case statements that only have one line each into if/else staircase (much fewer lines of code). Remove return type (other stat implementations print ? for unknown escapes, so do that here). Inline do_stat() and do_statfs(). Set default string in normal local variable "format". Remove unnecessary struct d. Restructure stat logic to "if (flagf && !statfs()) else if (!flagf && !stat()) else perror_msg();" Teach %N to add -> symlink. Judicious use of putchar() instead of xputc to let FILE * do its job collating output.
2013-05-18Make groups handle multiple usernames on command line.Ivo van Poorten
2013-05-14add groups implementation to id.cIvo van poorten
2013-05-10Convert getmountlist() to xgetmountlist().Rob Landley
2013-04-22Add library function for the file permission formatting in ls and statFelix Janda
2013-04-17Add -f to chmod (just turns off -v).Rob Landley
2013-04-11uuencode tweak: output a non-whitespace character for 0 in traditional mode.Rob Landley
2013-04-02Clean uudecode up the rest of the way, move pending->posix and default y.Rob Landley
2013-03-26Finish uuencode cleanup, default y, move it from pending to posix.Rob Landley
2013-03-21Fix a bug in patch I fixed back in 2010 but forgot to apply here.Rob Landley
2013-03-21Add -a to who and switch to default y in defconfig.Rob Landley
2013-02-22Fix a warning when debug code enabled.Rob Landley
2013-02-22Move some unfinished commands to the "pending" directory.Rob Landley
2013-02-10Implement cp -s option.Rob Landley
2013-01-31Fix -in behavior: descend into existing directory without prompting, show ↵Rob Landley
full path in error messages, actually overwrite when answering yes to -i.
2013-01-31id: make "id -Gn root" print root's groups instead of current user (and ↵Rob Landley
without leading space), enforce max 1 argument and at most one of Ggu.
2013-01-31Add time command (that only does posix mode).Rob Landley
2013-01-18Adjust umask(0) for cp -p so mknod doesn't have to try to fchmodat() without ↵0.4.3Rob Landley
the unsupported symlink nofollow flag.
2013-01-16Make "sudo cp -rp /dev/null blah" work. Still not happy with it, ↵Rob Landley
fchmodat(AT_SYMLINK_NOFOLLOW) doesn't work (there's a glibc bug open for this. It's really a missing kernel syscall, but glibc fails without ever making any syscall if you feed it that flag, which isn't helpful).
2013-01-12Update -p and -f to apply properly to various conditions. Still some bugs to ↵Rob Landley
squeeze out but this gets the infrastructure mostly right (and does away with the remaining gotos).
2013-01-10Teach cp to do -n.Rob Landley
2013-01-09Teach cp to do mknod.Rob Landley
2013-01-07Adapt cp to updated dirtree code.Rob Landley
2013-01-05Use basename() where appropriate.Rob Landley
2013-01-04Make basename use basename().Rob Landley
2013-01-02Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out ↵Rob Landley
other places that were setting it that no longer need to.
2012-12-31Make dirtree_handle_callback() start with dirtree_ like the rest of the ↵Rob Landley
dirtree functions.
2012-12-30Fix invalid free in toysh.Felix Janda
2012-12-30Getting the pwd -L behavior right is fiddly.Rob Landley
2012-12-27Add options -L and -P to pwd.Felix Janda
2012-12-27mkfifo -m is already implemented.Felix Janda
2012-12-26A screen width of 1 is possible (in some weird setups), and gives ls -C a ↵Rob Landley
division by zero error.
2012-12-23Minor tweaks.Rob Landley
2012-12-23Add -m option to mkdirFelix Janda