| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
make code slightly easier to read
Reviewed by: obrien
|
|
|
|
| |
Reviewed-by: obrien
|
|
|
|
| |
Reviewed by: obrien
|
|
|
|
|
|
| |
but that doesn't mean that they will never work.
Requested by: mpp, rgrimes
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
`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).)
|
|
|
|
| |
Submitted by: John Hay -- John.Hay@mikom.csir.co.za
|
| |
|
| |
|
|
|
|
|
|
| |
exit(1) --> exit(EX_USAGE)
Reviewed by: obrien
|
| |
|
|
|
|
| |
Reviewed by: obrien
|
|
|
|
|
| |
Pointy hat: green
Pointed out by: peter
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
are available; suggest lsvfs(1) instead.
Reported by: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
|
|
|
|
|
|
|
| |
the default. Add -r option for the read builtin to reverse this.
PR: 13274
Reviewed by: cpiazza, hoek, sheldonh
|
|
|
|
|
|
| |
Idea taken from obrien.
Reviewed by: obrien
|
|
|
|
|
|
| |
being relevant when we ripped out the BSD/VAX code.
Submitted by: Guy Harris <gharris@flashcom.net>
|
|
|
|
| |
particular.
|
|
|
|
| |
Submitted by: sheldonh
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Reviewed by: bde
Reworked by: bde
|
|
|
|
|
|
| |
macro. So now it's (1 +) for the sign and (+ 1) for rounding.
Reported by: bde
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Remove obsoleted reference to alarm(3).
Submitted by: bde
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
sleep(3) is implemented using nanosleep(2).
|
|
|
|
|
| |
-f Do not display a diagnostic message if chmod could not modify the
mode for file.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
|
|
| |
which it should not do.
PR: 12578
Reported by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Submitted by: Niall Smart <niall@pobox.com>
|
|
|
|
|
|
| |
Also, fix pos_out() to do the same checks pos_in() did.
Done for: jdp, luigi, the good of the world
|
| |
|
|
|
|
| |
Fixed some style bugs in rev.1.18.
|
|
|
|
|
|
|
|
| |
arguments)
PR: 11586
Submitted by: David Gilbert <dgilbert@velocet.ca>
Reviewed by: Doug Rabson
|
| |
|
|
|
|
|
|
| |
minimize diffs with {Net,Open}BSD
Hinted-More-Or-Less-By: bde
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
off_t, int, u_int64_t, etc.). dd(1) should now work properly with REALLY
big amounts of data.
|
|
|
|
|
|
|
|
|
|
| |
* Better usage() - correct syntax, display available commands
instead of examples
* Accept command abbreviations
* sprintf -> snprintf (for paranoia)
* manpage capitalisation tweak
Obtained from: OpenBSD
|
|
|
|
|
|
|
| |
Use optimal blocksize for rm -P, instead of always using 8192-byte blocks
to overwrite the file.
Obtained from: OpenBSD
|
| |
|
|
|
|
|
|
|
| |
clearing flag like dump or noschg, etc.
PR: bin/10071
Submitted by: Andreas Klussmann <andreas@infosys.heitec.net>
|