summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Utility to "brand" ELF binaries.sos1996-10-162-0/+118
| | | | | | | Man page to come... For now use: <brandelf -t Linux linuxbin> to brand, and just <brandelf> to verify branding on a ELF file. FreeBSD native is set with <brandelf -t FreeBSD freebsdbin>.
* Simplify and improve parser.ache1996-10-163-244/+38
| | | | Clarify manpage.
* Save half of LC_COLLATE spaceache1996-10-1510-203/+1073
| | | | | ASCIIfy data files, use RFC1345 symbolic names instead of hex codes Improve parser and manpage
* Wow!, i finally found a usable vgrind definition for Perl.joerg1996-10-152-2/+15
|
* 8-Bit character support.wosch1996-10-136-67/+147
| | | | | | | | | | Old locate(1) programs still works with the new database format, print some garbage for 8 bit characters, but don't core (maybe except char 30). 7-Bit Puritan should not notice any difference. Same speed, Same database size if the database contain only ASCII characters. Reviewed by: ache
* export variable TMPDIR (which maybe set, but not exported in /etc/locate.rc)wosch1996-10-121-2/+3
|
* Close PR#1781 - time returns with EXIT_SUCCESS on some failuresjkh1996-10-121-1/+3
| | | | Submitted-By: Tor Egge <Tor.Egge@idt.ntnu.no>
* Remove extraneous comment, fix second-level tabs (onesteve1996-10-121-9/+3
| | | | | | | tab and four spaces), and return error message in *err instead of calling Parse_Error. Suggested by: Bruce Evans <bde@zeta.org.au>
* Removed extra $Id$ string.steve1996-10-111-3/+1
|
* Reinstate '!=' fix by Bruce Evans. The original commit message fromsteve1996-10-111-5/+11
| | | | | | | | | | | parse.c(1.9) was: revision 1.9 date: 1996/09/12 03:03:25; author: bde; state: Exp; lines: +7 -6 Fixed handling of `!=' assignment. Don't warn if the shell's output is null, but warn if there was an error reading it. Suggested by: Bruce Evans <bde@zeta.org.au>
* Remove reference to oobsolete RTF_MASK flag (soon to be removed).wollman1996-10-091-2/+1
|
* Fix searching for shell quoting characters. I guess it waswosch1996-10-093-21/+43
| | | | | | | | | | broken since locate exists. This works now $ locate '*\[' $ locate '*i386-\**' $ locate '*[C\[]'
* O' to be bitten by CVS. Cleanup after importsteve1996-10-0857-101/+99
| | | | | | of Christos' version of make(1) and add Id's. Set straight by: Bruce Evans and Peter Wemm :)
* Export $TERM only if it has been set in our environment.joerg1996-10-071-2/+3
| | | | Detected by: Amancio Hasty
* This commit was generated by cvs2svn to compensate for changes in r18764,steve1996-10-0611-8/+103
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import Christos Zoulas' version of NetBSD's make onto thesteve1996-10-0660-1629/+2914
| | | | | | | | | | | | vendor branch for reference. Obtained from: Christos Zoulas <christos@netbsd.org>
* | Clarify the rule used to determine the objectsteve1996-10-061-5/+9
| | | | | | | | directory location.
* | This commit was generated by cvs2svn to compensate for changes in r18756,peter1996-10-068-8/+8
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import the 4.4BSD-Lite2 version of make onto the vendor branchpeter1996-10-0656-779/+1604
| | | | | | | | | | "for reference". This doesn't change anything since all files have been touched.
| * This commit was manufactured by cvs2svn to create branch 'CHRISTOS'.cvs2svn1996-10-061-0/+349
| |
* | Correct problem with traversing into PSD.doc directory,steve1996-10-061-5/+1
| | | | | | | | | | | | | | these files are actually installed/built as part of src/share/doc/psd/12.make. Oops. :) Pointed out by: Peter Wemm and Bruce Evans
* | Correct merge bogon: You want to descend into PSD.doc for both `all' andjkh1996-10-061-2/+2
| | | | | | | | | | `install' cases or there's never anything made to install, and you blow up in the install. :-)
* | Remove annoying -Wall warning.steve1996-10-061-1/+1
| |
* | Merge in NetBSD's changes to make(1). Changes include:steve1996-10-0631-1042/+2230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add the .PHONY, .PARALLEL, and .WAIT directives - Added the -B and -m commandline flags - misc. man page cleanups - numerous job-related enhancements - removed unused header file (bit.h) - add util.c for functions not found in other envs. - and a few coordinated whitespace changes Special thanks to Christos Zoulas <christos@netbsd.org> for help in the merge. A 'diff -ur' between Net and FreeBSD now only contains sccsid-related diffs. :) Obtained from: NetBSD, christos@netbsd.org, and me
* | Honor the MAIL environment variable.jkh1996-10-062-3/+12
| | | | | | | | Submitted-By: Dan Cross <cross@math.psu.edu>
* | Honor the MAIL environment variable, if set.jkh1996-10-062-7/+20
| | | | | | | | Submitted-by: Dan Cross <cross@math.psu.edu>
* | The -h flag implies ftp = 1.jmz1996-10-061-1/+2
| |
* | With -delete, don't complain about non-empty directories. Otherwisepeter1996-10-051-1/+1
| | | | | | | | "cd /tmp; find . -mtime +7 -delete" is excessively noisy.
* | Some new options for the FreeBSD web pages. These are for the momentjfieber1996-10-051-6/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | not officially documented and are subject to change. -hdr and -ftr Specify files to insert at the top and bottom of every page. This is similar in result to the existing -ssi option but everything happens at build time. If the string @@UPDATED@@ appears in either file it will be replaced with "Updated" followed by the current date. -white Make the pages black text on white background.
* | delete doubled words, e.g.: "the the" -> "the"wosch1996-10-0510-13/+22
| |
* | For the -delete option, emulate the behavior of "rm -f" when dealing withpeter1996-10-051-0/+7
| | | | | | | | | | | | user-immutable files. Requested by: ache
* | Fix Moscow timezone ruleache1996-10-052-4/+4
| |
* | Fix the previous commit. The second of the 8-character columns waspeter1996-10-041-4/+2
| | | | | | | | a duplicate of the first column of 8...
* | Implement a -delete option to find. The code is extremely paranoid andpeter1996-10-045-2/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | goes to a fair degree of trouble to enable something like this to be safe: cd /tmp && find . -mtime +7 -delete It removes both files and directories. It does not attempt to remove immutable files (an earlier version I showed to a few people did a chflags and tried to blow away even immutable files. Too risky..) It is thought to be safe because it forces the fts(3) driven descent to only do "minimal risk" stuff. specifically, -follow is disabled, it does checking to see that it chdir'ed to the directory it thought it was going to, it will *not* pass a pathname with a '/' character in it to unlink(), so it should be totally immune to symlink tree races. If it runs into something "fishy", it bails out rather than blunder ahead.. It's better to do that if somebody is trying to compromise security rather than risk giving them an opportunity. Since the unlink()/rmdir() is being called from within the current working directory during the tree descent, there are no fork/exec overheads or races. As a side effect of this paranoia, you cannot do a "find /somewhere/dir -delete", as the last argument to rmdir() is "/somewhere/dir", and the checking won't allow it. Besides, one would use rm -rf for that case anyway. :-) Reviewed by: pst (some time ago, but I've removed the immutable file deletion code that he complained about since he last saw it)
* | When starting HTML generation, remove any pre-existing link file.jfieber1996-10-011-2/+5
| |
* | When used as a shell builtin, this program decoded a subset of argumentspeter1996-10-011-4/+9
| | | | | | | | | | | | | | | | | | | | | | known to printf(3) and then used printf() to format it... The only problem what the #define printf out1fmt. The code was behaving differently when run as a shell builtin since out1fmt() isn't printf(3). Simple hack. Print to a buffer and fputs (also #defined for sh) the result. This should fix the printf builtin problem in PR#1673, rather than leaving the call commented out. (printf.o was being statically linked in anyway, we might as well use it)
* | Sync usage line to man page, per style(9).imp1996-10-011-3/+4
| | | | | | | | Pointed out by: Bruce Evans <bde@zeta.org.au>
* | Incorporate John Polstra's sods.c display of the details about thepeter1996-10-014-4/+533
| | | | | | | | | | dynamic linking information in the executable. It's quite extensive. It's connected to ldd's (new) -v option.
* | Support for specifying printf-like output specs to control the ldd outputpeter1996-10-012-4/+32
| | | | | | | | | | | | | | as present in the new rtld version. Obtained from: NetBSD Reviewed by: nate, jdp
* | Submitted by: Bruce Evansimp1996-09-291-5/+5
| | | | | | | | | | | | Remove -S for the install usage message Make the install usage message < 80 columns wide Place the dodir declaration in order.
* | Add a signal handler to clean up files if an INT, HUP, or QUITjfieber1996-09-291-1/+32
| | | | | | | | is received.
* | Include <fcntl.h> so that this doesn't depend on the KERNEL versionbde1996-09-291-0/+1
| | | | | | | | | | of <sys/file.h> including <sys/fcntl.h>. Only the !KERNEL version of <sys/file.h> will do that when I unspam the kernel headers.
* | Remove some stray debugging code.jfieber1996-09-291-2/+1
| |
* | Change the behavior of the -links option. Instead of actuallyjfieber1996-09-292-16/+13
| | | | | | | | | | | | | | creating a symbolic link from foo.html (from <label name="foo">) to the numbered file, a shell script is built that can be used to make the links at a later time (read: after installation in the target directory).
* | Implement -d in install. Update the man page to reflect this change.imp1996-09-292-12/+73
| |
* | Now that we've already got "hexdump -C", make calling the command "hd"joerg1996-09-293-4/+28
| | | | | | | | | | | | | | | | | | | | | | having the same effect, and install a link for this. There is historic precedence for the command hd(1) (with roughly that output format) in Xenix, SCO, and a few SysV's that tooks the idea. Also, added a couple of spaces to the -C format to make the output better readable. Ok'ed by: phk
* | .Os NetBSD -> .Os FreeBSD.wosch1996-09-281-1/+1
| | | | | | | | The pages are not NetBSD specific and FreeBSD is not a child of NetBSD.
* | Various cleanups:joerg1996-09-283-17/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | . prototyped and staticized the internal functions while i was here, . made the thing -Wall clean, . fixed an error that causes the recipient name to be matched only for the first characters, as opposed to a full name (wonder why i'm concerned? Well, one of my login IDs is `j', and i've noticed that vacation has been sending out replies to all mailing list messages that had a jkh@ or jmb@ in it :), . introduced an option -l to list the contents of the database; mucho useful if you've got (too) many mailing list messages in your inbox and wanna make sure you don't miss the `important' mails.
* | Eliminated NOFILE. Use the arbitrary (currently identical) limit of 64bde1996-09-281-2/+4
| | | | | | | | | | | | instead (for the input stack size). `mail' was one of the 3 programs in /usr/src that (mis)used NOFILE.
* | Use EX_* exit values, from NetBSDimp1996-09-281-5/+9
| |
OpenPOWER on IntegriCloud