| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Do not forget to increment the input line counter
when reading a word spanning multiple lines.
Notes:
svn path=/stable/5/; revision=161021
|
| |
|
|
| |
Notes:
svn path=/stable/5/; revision=160220
|
| |
|
|
|
|
|
| |
Approved by: re (kensmith)
Notes:
svn path=/stable/5/; revision=158221
|
| |
|
|
|
|
|
|
|
| |
Fix a typo
Approved by: re@, ceri@
Notes:
svn path=/stable/5/; revision=157279
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add -v and -V to the command builtin.
- Return value from unalias.
- Fixes for the errexit mode.
- Avoid segfaults on signals.
- Add the times builtin.
- Make 'set +o' output POSIX compliant.
- Correctly quoted output of trap.
- Man page updates.
Notes:
svn path=/stable/5/; revision=153737
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This includes the recent change to improve handling of the -P flag
on read-only files, addition of the -I option for better handling
of recursive deletes, a test for removal of / in the argument list,
and related mdoc and comment changes and improvements.
The Makefile change removes a spurious SRCS=
Notes:
svn path=/stable/5/; revision=151089
|
| |
|
|
|
|
|
| |
Add a "-q" quiet flag to kenv so that warnings can be suppressed.
Notes:
svn path=/stable/5/; revision=150375
|
| |
|
|
|
|
|
|
| |
PR: docs/84765
Approved by: keramida
Notes:
svn path=/stable/5/; revision=149861
|
| |
|
|
|
|
|
|
|
|
|
| |
o The ways to escape an alias.
o Fix in the alias syntax lines.
o Refero to the Aliases subsection.
Approved by: trhodes (mentor)
Notes:
svn path=/stable/5/; revision=149707
|
| |
|
|
|
|
|
|
|
|
| |
Remove EXAMPLES section which gives a non-POSIX compliant use of the sort
command. The -S flag to ls does the same thing.
PR: standards/83919
Notes:
svn path=/stable/5/; revision=149440
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix a bug when shell expansion is done against dangling symlinks, by
converting the stat() call to a lstat() call, which will cover the
situation. One can exercise this bug by referring a dangling link with
something like */the-link.
Submitted by: Simon 'corecode' Schubert [corecode fs ei tum de]
Obtained from: NetBSD via DragonFlyBSD (NetBSD rev. 1.51 and DragonFly
rev. 1.6)
Notes:
svn path=/stable/5/; revision=147886
|
| |
|
|
|
|
|
| |
around waitproc().
Notes:
svn path=/stable/5/; revision=146805
|
| |
|
|
|
|
|
| |
PR: 81256
Notes:
svn path=/stable/5/; revision=146639
|
| |
|
|
| |
Notes:
svn path=/stable/5/; revision=146128
|
| |
|
|
| |
Notes:
svn path=/stable/5/; revision=145778
|
| |
|
|
| |
Notes:
svn path=/stable/5/; revision=143084
|
| |
|
|
|
|
|
| |
NLS catalogs
Notes:
svn path=/stable/5/; revision=142678
|
| |
|
|
|
|
|
|
|
|
| |
Note how cp(1) handles directories ending in "/"
PR: 75774
Submitted by: Mike Meyer <mwm@mired.org> (original version)
Notes:
svn path=/stable/5/; revision=142547
|
| |
|
|
|
|
|
|
|
|
| |
Add information on utilities which may or may not be aware of file flags.
PR: 55653
Submitted by: Tony Maher <tonymaher@optushome.com.au> (original version)
Notes:
svn path=/stable/5/; revision=142546
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MFC ps.1 revision 1.84
date: 2005/02/14 16:56:15; author: delphij; state: Exp; lines: +22 -10
Several improvements to ps.1:
- Document the fact that empty heading text suppresses the
heading line (e.g. 'ps -o pid='), as this is very useful
in scripts.
- Describe logname keyword more completely.
- Describe the printing of arguments more completely.
- Put lockname in the correct alphabetical order in the list
of all keywords.
- Correct sentence in standards section.
Submitted by: Jilles Tjoelker <jilles at stack nl>
PR: docs/73618
MFC After: 1 week
MFC ps.1 revision 1.83, ps.c revision 1.110
date: 2005/02/09 17:37:38; author: ru; state: Exp; lines: +2 -3
Sync program's usage() with manpage's SYNOPSIS.
MFC Makefile revision 1.27
date: 2005/01/27 13:42:40; author: delphij; state: Exp; lines: +1 -1
ps(1) is WARNS=6 on all Tier-1 platforms as far as I can test,
so use default WARNS level from bin/Makefile.inc
MFC ps.1 revision 1.82
date: 2005/01/10 08:39:24; author: imp; state: Exp; lines: +1 -0
/*- or .\"- or #- to begin license clauses.
MFC Makefile revision 1.26
date: 2004/11/13 17:12:22; author: ru; state: Exp; lines: +0 -2
Removed bitrot.
Discussed with: ru
Notes:
svn path=/stable/5/; revision=142205
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
date: 2004/11/14 19:30:02; author: csjp; state: Exp; lines: +25 -0
Currently if the user specifies -e and procfs is not mounted on /proc,
printing of the process environment will fail silently.
-define a function which will check to see if procfs is mounted on /proc
-Implement this test if the user specified -e
-If procfs is not mounted on /proc and -e was specified, print a warning.
informing the user that procfs(5) is required.
MFC ps.c revision 1.108
date: 2004/11/19 16:11:54; author: csjp; state: Exp; lines: +6 -9
Use statfs instead of getmntinfo(). This will make the procfs checks
play nicer in prisons. It also simplifies things.
Notes:
svn path=/stable/5/; revision=141828
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Log:
Since it is not un-common for a process's resident set size (rss)
to exceed 10 megabytes in size (especially in X), bump the max
column width from 4 bytes to 5. This will make the ps auxw output
uniform again when a process's rss exceeds 10 megs.
It should be noted that when 5 digits becomes to small, other
solutions should be explored such as displaying them in megabytes
or having ps automatically re-size column widths.
Notes:
svn path=/stable/5/; revision=141711
|
| |
|
|
|
|
|
|
|
| |
Scheduled mdoc(7) sweep.
Original revisions by: ru
Notes:
svn path=/stable/5/; revision=141517
|
| |
|
|
|
|
|
| |
Correct typo.
Notes:
svn path=/stable/5/; revision=141516
|
| |
|
|
|
|
|
|
|
| |
Don't read the byte at *argv[strlen(*argv) + 1].
PR: 71743
Notes:
svn path=/stable/5/; revision=141408
|
| |
|
|
|
|
|
|
|
| |
doesn't match.
PR: 28095
Notes:
svn path=/stable/5/; revision=140741
|
| |
|
|
|
|
|
| |
line.
Notes:
svn path=/stable/5/; revision=140417
|
| |
|
|
| |
Notes:
svn path=/stable/5/; revision=139939
|
| |
|
|
| |
Notes:
svn path=/stable/5/; revision=139354
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
date: 2004/12/22 09:04:47; author: rwatson; state: Exp; lines: +0 -1
Remove single line containing the word "KLD" ommitted in ps.1:1.80.
Pointed out by: ru (some time ago)
date: 2004/11/29 12:00:24; author: rwatson; state: Exp; lines: +4 -5
Point at the mac(4) man page when describing the -Z option.
Remove reference to /dev/lomac, which is no longer used by mac_lomac(4).
MFC after: 3 days
Notes:
svn path=/stable/5/; revision=139172
|
| |
|
|
|
|
|
| |
Group equivalent flags together and delete the `aliases' section.
Notes:
svn path=/stable/5/; revision=139151
|
| |
|
|
|
|
|
|
|
| |
Fix off-by-one errors and potential buffer overruns
in handling file and link names that reach the allowed
maximum for old tar and ustar archive formats.
Notes:
svn path=/stable/5/; revision=138658
|
| |
|
|
|
|
|
|
| |
once if recursively removing directories or if more than 3 files are
listed in the command line.
Notes:
svn path=/stable/5/; revision=138155
|
| |
|
|
|
|
|
|
|
| |
PR: standards/45738
Submitted by: Matthias Andree <matthias.andree@web.de>
Approved by: re (scottl)
Notes:
svn path=/stable/5/; revision=135950
|
| |
|
|
| |
Notes:
svn path=/stable/5/; revision=133968
|
| |
|
|
|
|
|
|
|
|
| |
to specify an alternative padding character when using a conversion
mode, or when using noerror with sync and an input error occurs. This
facilities reading old and error-prone media by allowing the user to
more effectively mark error blocks in the output stream.
Notes:
svn path=/head/; revision=133762
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on March 31 won't take you to March 2 or 3 (now the result will
be the last day of February.)
In general, now stepping by months from the last days of the current
month A will take you to the very last day of the target month B if
B is shorter than A.
The previous version would just step to March 31 and rely on mktime(3)
to correct the date. Despite its simplicity, such way was counter-intuitive
to users and caused pain to shell script writers.
Noticed by: Igor Timkin <ivt at gamma dot ru>
Approved by: brian
MFC after: 2 weeks
Notes:
svn path=/head/; revision=133381
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
of releases. The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.
Approved by: re (scottl), markm
Discussed on: freebsd-current, in late April 2004
Notes:
svn path=/head/; revision=133196
|
| |
|
|
|
|
|
|
|
| |
/bin and /sbin.
Reviewed by: marcel (via pluto1)
Notes:
svn path=/head/; revision=133187
|
| |
|
|
|
|
|
|
| |
Inspired by: le
Approved by: green (maintainer)
Notes:
svn path=/head/; revision=132933
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
invalid information will be printed if the -t flag is specified.
$ df -t ufs
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 495726 139944 316124 31% /
/dev/ad0s1e 253678 6438 226946 3% /tmp
/dev/ad0s1f 56206340 13594248 38115586 26% /usr
/dev/ad0s1d 694126 19812 618784 3% /var
/dev/ad0s1d 694126 19812 618784 3% /var
$
Note that the mount point which is not accessible shows
up as the previous file system that was printed. The reason
for this is that df -t will call statfs(2) on the pathname
supplied by getfsstat(2).
This is done to refresh the file system statistics in the
event that a previous file system had a long delay in
providing its stats.
This change affects the df utility in the following ways:
o Teach df has to deal with statfs(2) failing. If statfs(2)
fails, fall back on the possibly stale stats provided by
the initial call to getfsstat(2).
o Print a warning that the fs stats could possibly be stale
o Modify the man page and document this new behavior
as a bug.
Approved by: bmilekic (mentor)
PR: 68165
Notes:
svn path=/head/; revision=132465
|
| |
|
|
| |
Notes:
svn path=/head/; revision=132433
|
| |
|
|
|
|
|
|
|
| |
back into epoch time. Everytime I'm asked to do this by someone I
have to spend about ten minutes recreating the same command line.
So record it under examples.
Notes:
svn path=/head/; revision=132272
|
| |
|
|
|
|
|
| |
We have support now that the regular expression routines do.
Notes:
svn path=/head/; revision=132029
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131966
|
| |
|
|
|
|
|
| |
by POSIX.
Notes:
svn path=/head/; revision=131513
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131512
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131505
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131484
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131472
|