aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
AgeCommit message (Collapse)Author
2013-09-21Tweak args (yank old + that never worked, rename | to +), and add uname -o ↵Rob Landley
as a synonym for -s.
2013-09-16Fix -t c0 and -J as reported by heehooman at gmail on the list.Rob Landley
Also fix up help text, and hook up -c.
2013-09-10First pass of cut cleanup, and make test script slightly happier with the ↵Rob Landley
concept of 80 character lines.
2013-09-09Minor cleanups.Rob Landley
2013-09-09Don't write a zero past end of toybuf with large -d value.Rob Landley
2013-09-09Minor cosmetic tweaks to expand.Rob Landley
Working my way through the to-review list that predates the "pending" directory. This gets expand off my to-review list. (Proof that "need to review" doesn't mean it's in bad shape, this command was fine. Changed capitalization in the help text because I'm trying to have "user supplies this value" be all caps, switched a read() to readall() although I'm not sure modern kernels actually allow -EINTR to generate zero length reads anymore, and since most of the loopfiles() target functions are called do_commandname() changed the name to that just so it's regular. None of the changes are actually important. :)
2013-09-09Adjust patch to use dlist_pop()Rob Landley
2013-09-09Redo tail closer to the original design. Add more tests for large data sets. ↵Rob Landley
(Still no -f support yet.)
2013-09-06Missing typecast in recent rm fix. Oops.Rob Landley
2013-08-30uname: Fix help stringElie De Brauwer
2013-09-05env - there were 2 segfaults when run on my Ubuntu 12.04 machine:Jacek Bukarewicz
- one is because eglibc sets environ to NULL on clearenv(). I added check for environ being not NULL when iterating over environment variables - switched xexec to xexec_optargs because command argument is a pointer to optarg which is freed by xexec.
2013-09-05Make chdir handle permissions according to posix, reported by Jacek Bukarewicz..Rob Landley
2013-09-05fix rm to handle "mkdir sub/sub && chmod 007 sub/sub && rm -rf sub".Rob Landley
Previous version didn't delete it, but exited without error. Neither was right.
2013-09-02Switch ls from utoa to sprintf.Rob Landley
2013-09-01Implement ls --color=auto, suggested by Rich Felker.Rob Landley
2013-08-31tail: Some fixesFelix Janda
- Rewrite most of the not lseek() logic - Change meaning of len in line_list - Use single instead of double linked list
2013-08-30Allow getmountlist to read fstab too.Rob Landley
2013-08-21Fix bug where exit code was only correct for -q.Rob Landley
2013-08-19Move grep from pending to posix, switch default to y.Rob Landley
2013-08-18Use OPTSTR_command macro for more oldtoys, to avoid keeping two option ↵Rob Landley
strings in sync. (todo: figure out how to make OLDTOY() automatically use macro. Still need the raw version for subset ala cp/mv though.)
2013-08-18Fix wrong printf type.Rob Landley
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