2042 Commits

Author SHA1 Message Date
pav
2b0a53b45b MFC 1.29:
Replace a fairly opaque sentence with a much clearer wording from NetBSD.
2007-05-24 22:52:46 +00:00
will
9520243522 MFC: r1.67: Make error messages regarding -t and -l consistent. 2007-03-17 02:10:14 +00:00
stefanf
15fd5458d0 MFC:
1.30: Correct exit status for type/command builtin.
1.31: Use eaccess instead of access.
2007-02-04 10:42:30 +00:00
csjp
2471a0fb78 MFC df.c revision 1.66
Based on The Open Group Base Specifications Issue 6 IEEE Std 1003.1, our
current implementation of df(1) is does not properly format the output under
certain conditions. Right now -kP and -Pk are not the same thing. Further,
when we set the BLOCKSIZE environment variable, we use "1k" instead of "1024",
making the header display incorrectly.
2007-01-20 02:19:09 +00:00
kientzle
125cb9bf44 MFC support for Linux-compatible -f flag. 2006-12-15 03:27:50 +00:00
stefanf
9135b54d07 MFC: Fix expanding of quoted positional parameters in case patterns. 2006-11-22 00:28:04 +00:00
stefanf
16d01601a5 MFC: Report invalid parameter expansions only when they are executed. 2006-11-22 00:26:06 +00:00
stefanf
922836d66d MFC: Add the -p option to the jobs builtin. 2006-11-22 00:23:09 +00:00
stefanf
c8427d0c05 MFC: Don't crash on "<cmd> | { }". 2006-11-22 00:17:21 +00:00
stefanf
e1f0b1b94d MFC: Implement the PS4 variable. 2006-11-22 00:11:11 +00:00
maxim
5012a1b38c MFC rev. 1.56: do not call chflags() for whiteouted files.
Approved by:	re (hrs)
2006-10-29 16:48:45 +00:00
maxim
17c332c9da MFC revs. 1.50 - 1.52: prevents statistics displayed by SIGINFO
handler from overflow, avoid division by zero, place error checking
code near to the syscall, style.

Approved by:	re (bmah)
2006-10-21 16:02:08 +00:00
ru
2370aa35f9 MFC: 1.100:
- Improve description of the -A option.
- Document how whiteouts look in the long output. [1]
- Sort entry types.
- Fix description of the socket type.

PR:		docs/51921 [1]
Approved by:	re (hrs)
2006-10-16 11:54:36 +00:00
julian
52f69462dd MFC: cp.1 1.34,1.35
MFC: utils.c 1.47,1.48,1.49
MFC: extern.h 1.21
MFC: cp.c 1.54
Add an option to allow copying of a hierarchy while linking the regular files.
Bikeshedded to death on: hackers
Submitted by:andersonatcenttech.com
Approved by: re (ken)
2006-09-29 04:00:27 +00:00
yar
a166a0e756 MFC revs 1.87, 1.88:
A column title, =foo, can only be at the end of the argument to -o.
Multiple column titles can be changed with the same number of -o's.
2006-08-22 08:25:17 +00:00
yar
e55204fea9 MFC rev. 1.57:
Do not forget to increment the input line counter
  when reading a word spanning multiple lines.
2006-08-06 10:27:47 +00:00
yar
6f53b8e96e MFC rev. 1.122:
Tell more of the sh(1) history.
  Acknowledge Kenneth Almquist's contribution in AUTHORS.
2006-08-03 13:19:15 +00:00
yar
a922641164 MFC rev. 1.24-1.25:
test(1) doesn't do shortcut evaluation in its logical operators.
2006-08-01 09:53:53 +00:00
yar
0acb5fcffc MFC rev. 1.121:
Make it easier to find that we have test(1) built-in in sh(1).
2006-07-29 08:57:29 +00:00
markm
d5f69f2a4f MFC: pick up maintainer stragglers. 2006-07-09 22:06:28 +00:00
stefanf
c08ca374de MFC rev 1.35: Don't interpret .//dir as /dir. 2006-06-28 21:14:23 +00:00
yar
f520c48b5b MFC rev. 1.120:
Document the fact that 'true' and 'false'
	are among sh(1) built-in commands.
2006-06-26 13:25:41 +00:00
kib
5cd171117e MFC rev. 1.12 of setfacl.c, rev. 1.15,1.16 of setfacl.1.
Copy filename read from the stdin into the private buffer.
Document the way to get list of files to process from the stdin.

Approved by:	kan (mentor)
2006-06-16 13:33:02 +00:00
stefanf
63f3d1c92c MFC:
- POSIX special built-ins (builtin.defs 1.19, main.c 1.28, mkbuiltins 1.16,
    eval.c 1.51, exec.c 1.29, exec.h 1.15, options.c 1.25)
- Fix el_gets() buffer handling (input.c 1.23).
- Sort 'set' output (var.c 1.31).
- Document that '#' starts a comment (sh.1 1.118).
2006-06-03 15:38:08 +00:00
jhb
fd3b56a33d MFC: Add a new -U flag to instruct ls to use the birthtime for printing or
sorting.
2006-05-18 22:02:20 +00:00
trhodes
fcc0e0f262 Sync with CURRENT. 2006-05-17 13:20:21 +00:00
cokane
fd208847a8 MFC: rev. 1.36
The -b parameter incorrectly stated that pax archives over ~32kB violate
POSIX. Fixed to describe that block size larger than 32256 bytes are
actually what violates POSIX.

PR:		docs/97059
Reviewed by:	Giorgos Keramidas <keramida>
2006-05-15 02:09:41 +00:00
maxim
b32f687bdd MFC rev. 1.54: be pedantic and do fts_close() when done.
Approved by:	re (kensmith)
2006-05-01 19:34:34 +00:00
gad
56f52286ad MFC 1.76: Implement the correct fix for the bug introduced in 1.73.
This time we avoid the seg-fault while still keeping the column
headers in uppercase.  And the original bug wrt specifying a new
column header for an aliased `-o' option remains fixed.

Approved by:	re (scottl)
2006-04-14 02:47:30 +00:00
gad
3a1853983d MFC 1.75: Fix a problem introduced by previous change, which causes
a seg-fault if the user specifies a keyword which is implemented as
an alias to some other keyword.

Submitted by:	Kostik Belousov
Approved by:	re (scottl)
2006-04-05 21:01:31 +00:00
rwatson
b96b3993ef Merge getfacl.1:1.10, getfacl.c:1.11 from HEAD to RELENG_6:
Add "-q" argument to getfacl(1), which suppresses the per-file header
  comment listing the file name, owner, and group.

  Submitted by:   Jan Srzednicki <w at expro dot pl>

Approved by:	re (scottl)
Reminded by:	delphij
2006-04-05 08:25:46 +00:00
gad
7b10031fcc MFC 1.73->1.74: Fix the case where the user specifies an alternate
heading for some output-format keyword, and the keyword they picked
is an alias to some other keyword.

PR:		bin/57833
Approved by:	re (scottl)
2006-04-04 20:31:26 +00:00
brd
f57b36b2d3 MFC 1.39
Fix a typo.

Approved by:	re@, ceri@
2006-03-30 04:15:40 +00:00
glebius
4e2930669d MFC:
Add '-F' option which allows to delete existing empty directories, when
  creating symbolic links.

  PR:		bin/92149
  Submitted by:	Eugene Grosbein <eugen grosbein.pp.ru>

Approved by:	re (mux)
2006-03-18 21:49:43 +00:00
ume
e12fa4aebe MFC: Enable NLS catalog of csh(1).
The tcsh 6.14 uses libiconv to convert catalogs to appropriate charset
dynamically.  However, we don't have libiconv in our tree.  So, I made
some hack to load libiconv dynamically.  If libiconv is available, you
can use catalogs for more locales than the locales which catalog is
actually installed.
To use this feature, you need to symlink catalogs to appropriate
locales.  You can do this by installing ports/shells/tcsh_nls.

	bin/csh/Makefile:			1.38
	bin/csh/config.h:			1.13
	bin/csh/iconv.h:			1.1
	bin/csh/iconv_stub.c:			1.1
	contrib/tcsh/nls/C/charset:		1.1.1.1
	contrib/tcsh/nls/et/charset		1.1.1.1
	contrib/tcsh/nls/finnish/charset	1.1.1.1
	contrib/tcsh/nls/french/charset		1.1.1.1
	contrib/tcsh/nls/german/charset		1.1.1.1
	contrib/tcsh/nls/greek/charset		1.1.1.1
	contrib/tcsh/nls/italian/charset	1.1.1.1
	contrib/tcsh/nls/ja/charset		1.1.1.1
	contrib/tcsh/nls/pl/charset		1.1.1.1
	contrib/tcsh/nls/russian/charset	1.1.1.1
	contrib/tcsh/nls/spanish/charset	1.1.1.1
	contrib/tcsh/nls/ukrainian/charset	1.1.1.1

Approved by:	re (hrs)
2006-02-26 06:17:59 +00:00
cvs2svn
34436ebdd7 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-02-22 21:51:10 +00:00
maxim
2e1a8fea8a MFC rev. 1.70: deal with the overridden SIGCHLD handler. 2006-01-12 05:24:46 +00:00
stefanf
0317a9cee7 MFC:
- Add the times builtin.
- Correctly quoted output of trap.
- Man page updates.
- Cleanup of builtins.def.
2005-12-26 15:43:54 +00:00
ru
955f414f25 MFC: Reimplement the -I option. 2005-11-22 20:58:58 +00:00
mux
de9480872e MFC:
ls.c r1.81 and ls.1 r1.92:
  date: 2005/11/10 00:02:32;  author: mux;  state: Exp;  lines: +16 -8
  Add a -I option to disable the automatic -A flag for the super-user.

  ls.1 r1.93:
  date: 2005/11/10 14:26:50;  author: mux;  state: Exp;  lines: +2 -1
  Mention the non-standardness of the -I option in ls(1).
2005-11-13 17:06:49 +00:00
csjp
599113c21e MFC Log:
Attempt to complete the userspace integration of POSIX.1e extended ACLs.
  This includes adding support for ACLs into cp(1) and mv(1) userspace
  utilities.

  For mv(1), if _PC_ACL_EXTENDED is in effect for the source AND destination
  operands, the destination file's ACLs shall reflect the source.

  For cp(1), if _PC_ACL_EXTENDED is in effect for both source and destination
  operands, and -p has been specified, the ACLs from the source shall be
  preserved on the destination.
2005-11-12 21:21:46 +00:00
stefanf
58babfa98f Sync with HEAD's code:
- Support for command -v and -V.
- Fixes for the errexit option.
- A fix for a crash caused by SIGINT.
- POSIX compliant set +o ouput.
- A fix for unalias' exit code.
- Man page updates.
- Code cleanups, WARNS 3.
2005-11-06 20:39:48 +00:00
delphij
741522667a MFC (by stefanf)
| Fix a comment.
|
| Submitted by:   Liam J. Foy
|
| Revision  Changes    Path
| 1.20      +1 -1      src/bin/sleep/sleep.c

Approved by:	re (scottl)
2005-10-09 04:39:07 +00:00
delphij
52502943e5 MFC (by stefanf):
| Log:
| El_parse's third parameter is now const-qualified, add a cast.
|
| Revision  Changes    Path
| 1.27      +1 -1      src/bin/sh/histedit.c

Approved by:	re (scottl)
2005-10-09 03:46:26 +00:00
dougb
707cc5baa9 MFC rm.c 1.53 and rm.1 1.3[78], better handling of the -P flag
on a read-only file, and related doc change.

Approved by:	re (kensmith)
2005-10-08 17:27:37 +00:00
mp
96e1d5303d Bump up BUFSIZE from 4k to 8k. This was requested by portmgr@ to allow
ports builds in the cluster to work correctly.

Approved by: re
2005-09-27 14:49:41 +00:00
keramida
754be4de67 MFC: a lot of manpage fixes from HEAD.
Approved by:	re (hrs)
2005-09-24 01:59:40 +00:00
rwatson
a407208894 Merge kenv.1:1.12, kenv.c:1.8 from HEAD to RELENG_6:
Add a "-q" quiet flag to kenv so that warnings can be suppressed.

Approved by:	re (kensmith)
2005-09-20 13:26:21 +00:00
garys
719f73823d MFC: Improved descriptions of block size handling.
PR:             docs/84765
Approved by:    re
2005-09-07 16:29:11 +00:00
cvs2svn
dd2adf2c10 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-07-11 04:14:43 +00:00