Commit Graph

  • db2c54bee6 oops that should have been enprintf() sin 2014-01-24 16:45:14 +0000
  • b58951b4f0 snprintf() returns the # of chars printed *excluding* '\0' sin 2014-01-24 16:23:13 +0000
  • 30620afb6c Check return value of snprintf in mktemp(1) sin 2014-01-24 16:17:39 +0000
  • 5be9c21ce4 Use xrealpath() in du(1) sin 2014-01-23 21:16:05 +0000
  • 3ef662c988 Check snprintf() return value sin 2014-01-23 20:05:01 +0000
  • cc2d762798 Use the width of the output device by default in mc(1) sin 2014-01-20 12:03:01 +0000
  • fe6144793f Check mmap() return value and unmap at the end sin 2014-01-20 11:25:57 +0000
  • 38f429a3d2 Add the tr program including man page Silvan Jegen 2013-11-15 17:25:10 +0100
  • cb005c150d Fix naming covention for uniq(1) sin 2014-01-20 10:47:46 +0000
  • 13128a7aa0 Remove dead debug code sin 2014-01-18 11:50:02 +0000
  • 7969fcd2c2 No need to dynamically allocate *cmd[] sin 2014-01-16 11:51:19 +0000
  • 1bc2296bac Double NARGS sin 2014-01-16 10:56:13 +0000
  • b744ad5216 If there's no newline we don't count the last word - fix it sin 2014-01-10 22:51:13 +0000
  • fbd786d22a Correctly handle leftover input sin 2014-01-08 20:47:21 +0000
  • 1963a7cfb3 Group related declaration sin 2014-01-08 20:36:43 +0000
  • 602fd49b53 Allocate the arg buffer in once place sin 2014-01-08 20:29:34 +0000
  • 2d64fa9483 Rename runcmd() to spawn() sin 2014-01-08 20:27:27 +0000
  • 574e3d48ed No need to check for a positive `argbpos' sin 2014-01-08 20:25:07 +0000
  • cec487585c Rename pusharg() to deinputstr() sin 2014-01-08 20:22:10 +0000
  • e96144118e Error out if a single argument cannot fit into the argument space sin 2014-01-08 20:20:04 +0000
  • e585133012 Rename fillbuf() to fillargbuf() sin 2014-01-07 14:56:05 +0000
  • 20c0a0b1e7 Factor out waiting for children into a separate function sin 2014-01-07 14:50:59 +0000
  • e27c55aec3 Implement -E eofstr for xargs(1) sin 2014-01-07 11:53:55 +0000
  • 7a5369ae04 Update xargs(1) manpage to mention the possible exit codes sin 2014-01-07 11:37:24 +0000
  • 59222b9193 Exit with error code 123 if one or more invocations of cmd failed sin 2014-01-06 18:51:06 +0000
  • 3aec0ac2a4 Use a return value to signal an invalid backslash sin 2014-01-06 18:20:26 +0000
  • bb4d7a0e7e Don't allow backslash at EOF sin 2014-01-06 18:16:34 +0000
  • 0511ecfd84 If eatspace() encounters EOF don't try to read again from stdin sin 2014-01-06 18:12:06 +0000
  • ef57a609ca Exit with error 125 if the process is killed by a signal sin 2014-01-06 18:03:34 +0000
  • 2dc105ebbc Use saved errno in case weprintf() fails internally sin 2014-01-04 14:06:53 +0000
  • 567869a8fe Check the exit status and return it from the parent process sin 2014-01-04 14:01:22 +0000
  • 7ec616e1e5 Exit with proper error codes sin 2014-01-04 13:51:13 +0000
  • 9a1c5783c1 Remove mktemp(1) from TODO sin 2014-01-04 13:41:23 +0000
  • 18f9f3e141 Remove xargs(1) from TODO sin 2014-01-04 13:40:15 +0000
  • 4bdf9a9658 Add initial version of xargs(1) sin 2014-01-03 11:52:47 +0000
  • 71cbd12ede Revert "Fix relocation error on OpenBSD (amd64) when compiling with pcc" sin 2013-12-21 12:07:16 +0000
  • 1851c02a95 Show usage instead of exiting silently on an invalid option sin 2013-12-12 13:29:30 +0000
  • aff51008ea Add -R as a synonym to -r for cp(1) sin 2013-12-12 13:27:49 +0000
  • 7f6d5653c6 Add -R as a synonym to -r for rm(1) sin 2013-12-12 13:15:07 +0000
  • 544857623b Add -n support to sort(1) sin 2013-12-12 13:08:49 +0000
  • 0b6b84886c Add newline at end of file sin 2013-12-04 17:41:52 +0000
  • 5534e60703 Implement -G support for id(1) sin 2013-12-01 17:29:20 +0000
  • d453be2ae1 id(1) can handle uid arguments Rob Pilling 2013-12-01 11:40:49 +0000
  • fd8c3b6438 curproc() isn't needed in id(1) Rob Pilling 2013-12-01 11:31:36 +0000
  • dac77d3089 Add support to display user and group info for any user sin 2013-12-01 10:40:14 +0000
  • 137ebef3ac Factor out code printing information for the current process sin 2013-12-01 09:58:02 +0000
  • f1f0fba630 Forgot to remove argc from function decl sin 2013-11-30 21:11:19 +0000
  • 38ca9a24c2 Be a bit more consistent and use uint8_t instead of unsigned char sin 2013-11-22 14:14:08 +0000
  • abd5a0e573 We do not name parameters in declarations sin 2013-11-22 13:40:08 +0000
  • 7808f4161d Implement -m for mkfifo(1) sin 2013-11-30 20:56:34 +0000
  • 651dbdd700 Rename __ARG_H__ to ARG_H__ sin 2013-11-25 21:29:20 +0000
  • 7a2105f5bd Forgot to update manpage for mktemp(1) sin 2013-11-14 19:49:36 +0000
  • 91a643411d Check for TMPDIR and if set use it sin 2013-11-14 19:46:21 +0000
  • a7b8eee6c0 Add dsp@2f30.org to LICENSE sin 2013-11-14 18:59:57 +0000
  • ee8084cec0 Fix indentation sin 2013-11-14 13:22:17 +0000
  • 078fce3f77 Always print the program name sin 2013-11-14 13:06:48 +0000
  • 3b3dffd24f _brk, _argc and _argv are reserved for the implementation sin 2013-11-14 10:41:38 +0000
  • 56a62c605f Implement -q support for mktemp(1) sin 2013-11-13 12:10:49 +0000
  • b8edf3b4ee Add weprintf() and replace fprintf(stderr, ...) calls sin 2013-11-13 11:39:24 +0000
  • 34f7a688cb Add barebones mktemp(1) sin 2013-11-12 11:52:28 +0000
  • 80c5ab46ba Fix style for function definitions sin 2013-11-12 13:36:58 +0000
  • 8f931fba13 Remove passwd from TODO sin 2013-11-12 13:12:00 +0000
  • 8fdfa7caeb Convert cksum(1) to use FILE * instead of an fd sin 2013-11-12 11:16:13 +0000
  • cfe5e9ef3a Support tail-ing multiple files sin 2013-11-12 10:45:18 +0000
  • d9abff1e84 Don't exit on the first file that can't be opened for head and fold sin 2013-11-12 10:44:37 +0000
  • 7add068ade Rename `brk' to `_brk' to avoid polluting the namespace sin 2013-11-11 20:25:30 +0000
  • 3f9e501f6b Add ARGNUM and ARGNUMF(base) dsp 2013-11-11 19:53:01 +0000
  • 2046778bc9 Update manpage for binary operations in test(1) sin 2013-11-11 11:46:53 +0000
  • 18fbd4606c Return false in case we invoke `test s1' and s1 is the null string sin 2013-11-11 11:43:18 +0000
  • c23616555b Add support for -k (checking sticky bit) to test(1) sin 2013-11-11 11:37:07 +0000
  • 11c078d116 Fix styling issue in test(1) sin 2013-11-11 11:27:18 +0000
  • af1fb0c9c2 Inverse condition to avoid nesting in test(1) sin 2013-11-11 11:26:29 +0000
  • c55948ba91 No need to use USED() in arg.h for sbase sin 2013-11-06 13:22:13 +0000
  • 777f958426 Update TODO sin 2013-10-29 17:19:26 +0000
  • 06d43e4832 Fix relocation error on OpenBSD (amd64) when compiling with pcc sin 2013-10-27 10:15:45 +0000
  • b2a0362bf8 Use estrtol() instead of atoi() sin 2013-10-27 09:46:21 +0000
  • 298703ff2d Add sticky bit to documentation. Markus Wichmann 2013-10-20 10:56:49 +0200
  • a55cc8c95e Make chmod and ls recognize sticky bit (S_ISVTX). Markus Wichmann 2013-10-20 10:53:43 +0200
  • 35053c1d48 Make chmod honor S_ISVTX. Markus Wichmann 2013-10-20 10:50:58 +0200
  • a4eb639ba7 Make mkdir read mode argument as octal. Markus Wichmann 2013-10-20 10:49:59 +0200
  • 0690c1a003 Always round up to the next blocksize unit in du(1) sin 2013-10-18 16:40:31 +0100
  • 6a680269bf Add more commands to TODO sin 2013-10-18 15:18:37 +0100
  • fc9c4d9123 Update TODO based on people's suggestions sin 2013-10-18 10:01:42 +0100
  • a6e5696cbd Fix indentation in du(1) sin 2013-10-17 18:03:01 +0100
  • 9e321b69d2 No need for realpath() to call malloc() in du(1) sin 2013-10-17 14:06:17 +0100
  • ac130cbbe0 Update usage line and manpage for du(1) sin 2013-10-17 11:21:15 +0100
  • ac3a5e0091 Add -k support for du(1) sin 2013-10-16 18:00:02 +0100
  • 6e8b79ebd8 Add -s support for du(1) sin 2013-10-16 17:54:29 +0100
  • 09fcbfc338 Add primitive du(1) sin 2013-10-16 16:58:52 +0100
  • 84ba9cb87e Remove cut from TODO sin 2013-10-16 14:14:18 +0100
  • 8617b29355 Implement the basic binary operations for test(1) sin 2013-10-15 14:30:14 +0100
  • d8718d4159 Do not interpret -[rwxs] as options in chmod(1) sin 2013-10-10 14:50:52 +0100
  • 6492c59072 Free allocated memory sin 2013-10-11 16:59:19 +0100
  • 486d22fc48 Simplify code in cut(1) sin 2013-10-10 23:03:15 +0100
  • f559b71488 Free allocated buffer sin 2013-10-10 19:54:49 +0100
  • 12ad81fa24 Allow strings(1) to operate on more than one file sin 2013-10-10 16:04:15 +0100
  • 484d5b4340 Do not rely on `s' being incremented before taking the address of it sin 2013-10-09 16:28:04 +0100
  • cabbf6141e Allow sbase-box to be called as sbase-box tool args... sin 2013-10-08 23:32:29 +0100
  • 576a5ce55e Add cut(1) Truls Becken 2013-10-08 20:39:08 +0100
  • 9eb15ff232 Simplify code and don't use ftw() for chgrp(1) sin 2013-10-08 00:45:25 +0100