summaryrefslogtreecommitdiffstats
path: root/bin
AgeCommit message (Expand)AuthorFilesLines
2018-12-16Tweak the syntax displays to show that the list of wordsschwarze2-11/+13
2018-12-08Fix kill [-SIGNAME | -s SIGNAME] and simplifyjca1-13/+11
2018-12-07format a pair of dashes as "\(em" rather than "--",schwarze1-5/+5
2018-11-30in getopts, when a option is followed by a colon the parameter is mandatorysolene1-3/+3
2018-11-20Convert the pledge call to idiomatic format 'cause we love grep.deraadt1-3/+4
2018-11-20Fix the case where the recursion detection isn't reset when the command ismartijn3-9/+21
2018-11-17Use a very regular call pattern to pledge, so that we can continue toderaadt1-10/+11
2018-11-16Include "id" in pledge (for setres[ug]id, setgroups) if the shell isnicm2-5/+18
2018-11-14mv imitates, but no longer uses, cp and rm to cross filesystems.tedu1-3/+3
2018-11-10remove mention of sbrk.daniel1-5/+3
2018-10-26Fix memory leak in setDolp() where dp is NULL. Based on a diff frommiko1-7/+3
2018-10-24Fix some minor issues found by coverity.martijn6-17/+15
2018-10-17- add an example to date(1) showing how to convert between timezonesjmc1-4/+12
2018-09-29Export the PWD and OLDPWD shell variables as per POSIX.millert1-2/+2
2018-09-28Contrary to the sh manual, it is possible to modify the PWD variablemillert1-3/+2
2018-09-19If getcwd() fails in dinit(), the stat buffer 'swd' is usedmillert1-30/+30
2018-09-19Fix last commit, I made one of the changes to the wrong line.millert1-3/+3
2018-09-19Compare against NULL, not '\0' for pointers. Quiets a warning onmillert1-3/+3
2018-09-18Restore the xmalloc(), xcalloc(), xreallocarray() and xstrdup() changes.millert6-35/+30
2018-09-18backout last week of csh diffs. They are disasterously broken, on i386deraadt13-60/+74
2018-09-18remove macros for xmalloc(), xcalloc() & xreallocarray() and just name themiko3-13/+9
2018-09-17Replace any() with strchr(3).martijn9-49/+40
2018-09-16Use uid_from_user(3) and gid_from_group(3) in utilities thatmillert2-13/+7
2018-09-15strsave() is hard-fail strdup() so simplify and rename to xstrdup().miko4-15/+14
2018-09-13Fix warnings caused by user_from_uid() and group_from_gid() nowmillert1-2/+3
2018-09-13Use the new libc uid_from_user() and gid_from_group() instead ofmillert7-312/+25
2018-09-08blkfree() takes no action for NULL pointer so callers can avoid checking.miko6-29/+24
2018-09-07fgetln(3) -> getline(3); from Lauri Tirkkonen; ok millert@cheloha1-21/+20
2018-09-07Revert earlier revert.martijn2-30/+53
2018-09-07Backout recent cp(1) changes; they broke texlive's mktexlsr(1)stsp2-53/+30
2018-09-07Rename dne in copy_file to exists to be more consistent with the othermartijn2-9/+9
2018-09-07Also verify a overwrite for the copy of a fifo, link and device node.martijn2-7/+14
2018-09-07Move the question to allow a copy to its own function.martijn1-13/+26
2018-09-07The combination of -v and -i and the deny of a copy would cause the copymartijn2-10/+13
2018-08-25markup flag arguments; ok jmc@ schwarze@anton1-16/+26
2018-08-08unveil dev.db "r" for devname(), /dev "r", and in the non-sysctl casederaadt1-1/+14
2018-08-05use .Fl macro for command line optionsschwarze1-3/+3
2018-08-05wrong macroschwarze1-3/+3
2018-07-25Free operand copies after parsing.cheloha1-8/+9
2018-07-23Don't cast malloc(3) size to u_int.cheloha1-5/+9
2018-07-23Point to glob in section 7 for the actual list of special characters insteadkn2-8/+8
2018-07-11Do for most running out of memory err() what was done for most runningkrw1-3/+3
2018-07-09ensure tape name and tape commands are not too long. passing too longderaadt2-6/+17
2018-07-09Second attempt of the recently backed out variable expansion fix. This time withanton1-4/+35
2018-07-08Back out previous. naddy and rpe found that it breaks the installer withtb1-35/+4
2018-07-08Fix a bug related to variable expansion referencing multiple read-onlyanton1-4/+35
2018-06-25Count $MAILCHECK with the monotonic clock.cheloha1-6/+11
2018-06-19Revert previous, there were some unintended beviour changes.martijn1-3/+27
2018-06-18Use shl_out->fd instead of STDOUT_FILENO in the call the setupterm().millert1-2/+2
2018-06-18Remove the parse_char_class and let regcomp determine if our bracketsmartijn1-27/+3