summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* brucify, `v' before `W', mention -v is non-standard in manpage andmharo1999-09-042-18/+25
| | | | | | make code slightly easier to read Reviewed by: obrien
* mention that -v is non-standardmharo1999-09-041-0/+4
| | | | Reviewed-by: obrien
* brucify and add comment about -v being non-standard to manpagemharo1999-09-042-6/+10
| | | | Reviewed by: obrien
* Revert to using .Xr for builtins. The cross-references don't work now,sheldonh1999-08-311-5/+5
| | | | | | but that doesn't mean that they will never work. Requested by: mpp, rgrimes
* Clean-up:sheldonh1999-08-301-69/+160
| | | | | | | | | | Fix grammar and spelling nits. Use .Dq and .Qq where appropriate. Divorce trailing punctuation from quoted elements. Use .Dq instead of .Xr for builtins. Remove trailing whitespace and blank lines. PR: 13340
* Yet another previously forgotten merge from Lite2. (Describebde1999-08-301-4/+5
| | | | | | | `opaque', fix reversed description of `nodump', and don't use `nodump' as an example of adding a `no' prefix since the double negative would be confusing (it's still confusing -- the implicitly documented `nonodump' flag doesn't exist).)
* fix rm -rmharo1999-08-291-1/+2
| | | | Submitted by: John Hay -- John.Hay@mikom.csir.co.za
* add verbose flagmharo1999-08-292-7/+23
|
* brucify and move printf() to catch cases of special filesmharo1999-08-293-11/+7
|
* add verbose flagmharo1999-08-292-10/+27
| | | | | | exit(1) --> exit(EX_USAGE) Reviewed by: obrien
* Fix typo in previous commit that documented the -v option.mpp1999-08-281-1/+1
|
* add verbose flagmharo1999-08-282-5/+17
| | | | Reviewed by: obrien
* Relax things a bit. Not having FIODTYPE will be a warning for now.green1999-08-281-8/+12
| | | | | Pointy hat: green Pointed out by: peter
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-27271-273/+273
|
* Use FIODTYPE to unbogosify much of the file type checking in dd.green1999-08-271-10/+15
|
* Don't suggest sysctl(8) as a means for discovering what filesystem typessheldonh1999-08-261-8/+5
| | | | | | are available; suggest lsvfs(1) instead. Reported by: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
* Make the behaviour of `read -e', ie. treating backslashes as special,tg1999-08-262-17/+21
| | | | | | | the default. Add -r option for the read builtin to reverse this. PR: 13274 Reviewed by: cpiazza, hoek, sheldonh
* Add a verbose mode to show what files are being copied.mharo1999-08-264-9/+24
| | | | | | Idea taken from obrien. Reviewed by: obrien
* Remove obsolete BUGS section which describes something which stoppedjkh1999-08-251-16/+1
| | | | | | being relevant when we ripped out the BSD/VAX code. Submitted by: Guy Harris <gharris@flashcom.net>
* Sort cross-references. Move mount(8) down the list where it belongs, inchris1999-08-251-2/+2
| | | | particular.
* Make the comments nice, short-but-sweet XXX format.green1999-08-241-10/+3
| | | | Submitted by: sheldonh
* Backed out my -n change to imply -l by request of sheldonh.chris1999-08-231-2/+0
|
* Make -n flag compliant to the Single Unix Specification.chris1999-08-231-1/+3
| | | | | | | | | | To quote their ls(1) specification: -n The same as -l, except that the owner's UID and GID numbers are written, rather than the associated character strings. Reviewed by: green
* Make a comment I added a bit nicer.green1999-08-221-2/+3
|
* Finally: fix test -x as completely as possible.green1999-08-201-7/+17
| | | | | Reviewed by: bde Reworked by: bde
* Take integer rounding into account in the buffer size approximationsheldonh1999-08-191-2/+2
| | | | | | macro. So now it's (1 +) for the sign and (+ 1) for rounding. Reported by: bde
* Style issues in previous commit:sheldonh1999-08-191-4/+14
| | | | | | | | | | Use an upward approximation of the number of characters required for decimal representations of uid_t, gid_t and u_quad_t, intead of arbitrary values that may not be safe in the future. Fix disordering. Requested by: bde
* The new test(1) did not use access() correctly. I don't know why, sincegreen1999-08-181-2/+7
| | | | | | | | supposedly it's ksh-derived, and it's not broken in pdksh. I've added a test for test running as root: if testing for -x, the file must be mode & 0111 to get "success", rather than just existant. Reviewed by: chris
* Describe proper signals behavior rather than just removing it.ru1999-08-161-2/+8
| | | | | | Remove obsoleted reference to alarm(3). Submitted by: bde
* Replace our test(1) with NetBSD's pdksh-derived version. The code issheldonh1999-08-165-785/+465
| | | | | | | | | | | | significantly easier to read and extend and offers a few new tests. A few style changes taken from style(9) and OpenBSD, as well as whitespace cleanups. This change was discussed on freebsd-committers and freebsd-hackers and met with approval from at least des, eivind and brian. PR: 13091 Obtained from: NetBSD
* Bad reference of mount(1) changed to mount(8).chris1999-08-141-3/+3
|
* Minor style fix - change 'if(!*v)' to 'if (!*v)'chris1999-08-141-2/+2
|
* There is no special handling for SIGALRM asru1999-08-091-11/+3
| | | | sleep(3) is implemented using nanosleep(2).
* Document -f flag:chris1999-08-082-4/+10
| | | | | -f Do not display a diagnostic message if chmod could not modify the mode for file.
* Add -n option to print numeric user and group IDs instead of namessheldonh1999-08-023-9/+31
| | | | | | | | | | | | in a long (-l) listing. MFC-jockies should make sure that bde's concerns regarding the number of digits required to represent a uid_t and the use of snprintf on the associated PR have been addressed before going wild. PR: 12866 Reported by: Philip Kizer <pckizer@nostrum.com> Obtained from: NetBSD
* Correct some style issues in my previous commit.kris1999-07-222-4/+4
| | | | Submitted by: bde
* Fix handling of the cd command inside evaluations. It was changing PWD,sheldonh1999-07-191-1/+2
| | | | | | | | which it should not do. PR: 12578 Reported by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> Submitted by: Niall Smart <niall@pobox.com>
* Implement seekability for disk devices (not just regular files).green1999-07-133-11/+13
| | | | | | Also, fix pos_out() to do the same checks pos_in() did. Done for: jdp, luigi, the good of the world
* Add -W and fix the warning due to missing struct initializerkris1999-07-102-4/+4
|
* Improved error handling in rev.1.18: don't ignore failure of execve().bde1999-07-041-5/+4
| | | | Fixed some style bugs in rev.1.18.
* Correct reference to the obsolete vadvise() to madvise() (with appropriatekris1999-06-301-5/+5
| | | | | | | | arguments) PR: 11586 Submitted by: David Gilbert <dgilbert@velocet.ca> Reviewed by: Doug Rabson
* Don't continue if parsing failed when -f is in use. Exit with nonzero value.cracauer1999-06-251-3/+2
|
* Undo some of the reversions from previous revisions, and attempt tokris1999-06-211-52/+83
| | | | | | minimize diffs with {Net,Open}BSD Hinted-More-Or-Less-By: bde
* This is the second round of dd(1) changes. Some changes made/reversed bygreen1999-06-207-83/+108
| | | | | | | | request of Bruce. More changes may follow later. 'g' multiplier has been added (i.e. dd seek=5g if=bigfile.) Some minor corrections were made as well. Noticed by: bde
* Miscellaneous dd(1) changes: mainly fixing variable types (size_t, ssize_t,green1999-06-197-105/+104
| | | | | off_t, int, u_int64_t, etc.). dd(1) should now work properly with REALLY big amounts of data.
* Changes from OpenBSD:kris1999-06-073-16/+27
| | | | | | | | | | * Better usage() - correct syntax, display available commands instead of examples * Accept command abbreviations * sprintf -> snprintf (for paranoia) * manpage capitalisation tweak Obtained from: OpenBSD
* Use .Dq instead of ``'' in manpagekris1999-05-282-8/+23
| | | | | | | Use optimal blocksize for rm -P, instead of always using 8192-byte blocks to overwrite the file. Obtained from: OpenBSD
* getopt(3) returns -1 not EOF.imp1999-05-231-2/+2
|
* Chflags was clearing all flags supplied on the command line after ajmz1999-05-211-2/+2
| | | | | | | clearing flag like dump or noschg, etc. PR: bin/10071 Submitted by: Andreas Klussmann <andreas@infosys.heitec.net>
OpenPOWER on IntegriCloud