summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Increase the hostname display width. Many machines are namedobrien2010-09-161-2/+2
| | | | | with >12 characters. This still allows for 80 column output with load averages of 99.99, 99.99, 99.99.
* + Add the SCRIPT environmental variable to the sub-shell. Its value isobrien2010-09-162-0/+20
| | | | | | | | the name of the typescript file. + Add the 'command' argument (if supplied on the command line) to the typescript file. This creates a more complete typescript when invoked this way - more equal to invoking script without supplying the 'command' argument.
* Fix indenting of the previous commit.rpaulo2010-09-161-4/+4
|
* When generating functions to print the arguments of system calls withrpaulo2010-09-161-0/+5
| | | | | | | | | | | | | bitwise parameters (e.g. mmap), print the syscall parameter value first. The resulting output looks like the %b specifier of printf(9). Before: mmap(0,0x8000,PROT_READ|PROT_WRITE,... After: mmap(0,0x8000,0x3<PROT_READ|PROT_WRITE>,... Submitted by: Norberto Lopes <nlopes.ml at gmail.com> Idea from: freebsd-arch/2006-April/005116.html
* Remove extra ;emaste2010-09-141-1/+1
|
* Move to using Makefile.arch to include the proper target-specific programs.imp2010-09-131-136/+57
|
* Doh! two last second refactoring typos crept in. Fix.imp2010-09-131-2/+2
|
* Revert r212513 and reimplement the search order to be ARCH, CPUARCHimp2010-09-133-13/+62
|
* Merge from tbemd: Move to using Makefile.arch to control what's build.imp2010-09-136-0/+26
| | | | Reviewed by: (arch@, no objection)
* merge powerpc and powerpc64 now that we use TARGET_CPUARCHimp2010-09-132-55/+11
|
* Move to using TARGET_CPUARCH instead of TARGET_ARCH.imp2010-09-131-1/+9
|
* Note bug in trying to printf(1) things like: '-%s\n' "foo"obrien2010-09-091-0/+7
|
* For total interrupt count on -vm screen count all interrupts, but not onlymav2010-09-081-3/+3
| | | | those which fit the screen.
* Fix typo in bsdcpio manual:gjb2010-09-061-2/+2
| | | | | | | | | | s/libarchive_formats/libarchive-formats PR: 150300 Submitted by: Kurt Jaeger <fbsd-pr at opsec dot eu> Patch by: Kurt Jaeger Approved by: keramida (mentor) MFC after: 1 week
* Add myself to calendar.freebsd and committers-src.dot.andreast2010-09-061-0/+1
| | | | Approved by: nwhitehorn (mentor)
* printf(1): Clarify that \OOO produces a byte, different %b escape sequences.jilles2010-09-051-4/+10
| | | | | | | | Octal escape sequences are expanded to bytes, not characters, and multiple are required for a multibyte character. The valid escape sequences in %b strings are slightly different from the escape sequences in the format string.
* Add myself to calendar.freebsdswills2010-09-051-0/+1
| | | | Approved By: pgollucci (co-mentor)
* Adding a missing firstname (Monique)edwin2010-09-021-1/+1
| | | | | PR: conf/150049 Submitted by: Thierry Thomas <thierry@pompo.net>
* Correct spelling mistake, int -> intogavin2010-09-021-2/+2
| | | | MFC after: 3 days
* For consistency, cast result of getpid() to longkevlo2010-08-311-1/+2
|
* For calendars which don't match the solar-based Gregorian calendar,edwin2010-08-304-37/+541
| | | | be able to specify a year string in an entry.
* Use basename(3) to determine the name of the program.edwin2010-08-301-3/+2
| | | | Submitted by: Alexander Best <arundel@>
* Add myself to calendars.freebsd.dim2010-08-301-0/+1
| | | | Approved by: rpaulo (mentor)
* Fix breakage introduced in r211725 and improve functionality of truss onnwhitehorn2010-08-285-3/+31
| | | | 64-bit powerpc by adding 32-bit compatibility features.
* Add one more new memory day for Russian Federation: the end of Second World War.osa2010-08-251-0/+1
| | | | Obtained from: http://kremlin.ru/acts/8444
* MFtbemd:imp2010-08-232-4/+4
| | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
* - Change default grep back to GNU version. BSD grep can be built with thegabor2010-08-231-4/+4
| | | | | | | | WITH_BSD_GREP knob. - Bump __FreeBSD_version Requested by: dougb Approved by: delphij (mentor)
* Revert a minor part of revision 211364:delphij2010-08-191-4/+1
| | | | | | | | | | - Imply -h if single file is grepped, this is the GNU behaviour This is already done by code above the change and have caused a regression since this instance of code does not check Hflag. Reported by: davidxu Pointy hat to: delphij
* '\0' -> 0edwin2010-08-191-2/+2
| | | | Fix silly mistake by being overly zeaolous[sp] of applying the style rules.
* UTFize my name.des2010-08-196-6/+6
|
* Check return value of dup(), it could be -1 when the system is runningdelphij2010-08-191-1/+8
| | | | | | | | out of file descriptors for instance. Found with: Coverity Prevent(tm) CID: 6084 MFC after: 1 month
* - Refactor file reading code to use pure syscalls and an internal buffergabor2010-08-184-178/+157
| | | | | | | | instead of stdio. This gives BSD grep a very big performance boost, its speed is now almost comparable to GNU grep. Submitted by: Dimitry Andric <dimitry@andric.com> Approved by: delphij (mentor)
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whilejoel2010-08-162-2/+2
| | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
* Mark functions and variables as static.ed2010-08-161-15/+14
| | | | | | All these functions and variables are local to this compilation unit, so there is no reason why we shouldn't mark them static. This slightly reduces the binary size.
* - Revert strlcpy() changes to memcpy() because it's more efficient andgabor2010-08-156-66/+66
| | | | | | | | | | | | | | | | | | | | | | | former may be safer but in this case it doesn't add extra safety [1] - Fix -w option [2] - Fix handling of GREP_OPTIONS [3] - Fix --line-buffered - Make stdin input imply --line-buffered so that tail -f can be piped to grep [4] - Imply -h if single file is grepped, this is the GNU behaviour - Reduce locking overhead to gain some more performance [5] - Inline some functions to help the compiler better optimize the code - Use shortcut for empty files [6] PR: bin/149425 [6] Prodded by: jilles [1] Reported by: Alex Kozlov <spam@rm-rf.kiev.ua> [2] [3], swell.k@gmail.com [2], poyopoyo@puripuri.plala.or.jp [4] Submitted by: scf [5], Shuichi KITAGUCHI <ki@hh.iij4u.or.jp> [6] Approved by: delphij (mentor)
* Update a stale comment about grep.delphij2010-08-111-1/+1
|
* Teach elfdump(1) about the SUNW_dof section.rpaulo2010-08-111-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Use NULL instead of 0 when setting up pointer.kevlo2010-08-101-8/+8
|
* Fix -R when used with -p. Previously, thekientzle2010-08-083-4/+18
| | | | | | | | | | uname and gname weren't overwritten, so the disk restore would use those to lookup the original uid/gid again. Clearing the uname and gname prevents this. Reported by: swell.k MFC after: 7 days
* Fix typos and spelling mistakes.joel2010-08-063-3/+3
|
* - Some fixes to Ukranian cataloggabor2010-08-061-2/+2
| | | | Submitted by: avg, Alex Kozlov <spam@rm-rf.kiev.ua>
* Don't point users at the old csup homepage.joel2010-08-052-5/+0
| | | | Approved by: lulf
* mdoc: make sure to pass at least one argument to quotation macrosuqs2010-08-023-6/+6
|
* Fix typos.joel2010-08-012-2/+2
|
* Fix spelling.joel2010-07-301-1/+1
|
* Fix a couple of typos.uqs2010-07-301-1/+1
| | | | | | PR: docs/148891 Submitted by: olgeni MFC after: 1 week
* - Add Ukranian cataloggabor2010-07-302-0/+13
| | | | Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua>
* - Some minor changes to the messages to increase usefulness of error msgsgabor2010-07-2911-52/+38
| | | | | | Reviewed by: hrs (Japanese catalogs), pluknet <pluknet at gmail dot com> (Russian catalog) Approved by: delphij (mentor)
* - Add Japanese NLS catalogsgabor2010-07-294-0/+45
| | | | | Submitted by: hrs Approved by: delphij (mentor)
* - Use the traditional behaviour for filename and directory name inclusiongabor2010-07-296-68/+148
| | | | | | | | | and exclusion patterns [1] - Some improvements on the exiting code, like replacing memcpy with strlcpy/strcpy Approved by: delphij (mentor) Pointed out by: bf [1], des [1]
OpenPOWER on IntegriCloud