Commit Graph

2012 Commits

Author SHA1 Message Date
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
delphij
909e7ff886 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.

Approved by:	re (scottl)
Submitted by:	Simon 'corecode' Schubert [corecode fs ei tum de]
Obtained from:	NetBSD via DragonFlyBSD (NetBSD rev. 1.51 and DragonFly
		rev. 1.6)
MFC After:	3 days
2005-07-07 18:10:33 +00:00
ru
291174c7f1 Sort sections.
Approved by:	re (blanket)
2005-06-14 08:25:54 +00:00
ru
81411ac5c7 Sorted sections and fixed prompt (PS[12]) strings.
Approved by:	re (blanket)
2005-06-14 08:25:00 +00:00
ru
567c029373 Put the description of the -c option in the right place, as
promised by the Argument List Processing section introduction.
What follows the option in the options list is its long name,
not its argument (as is the case for the -c option).  Also
sort references in the SEE ALSO section.

Approved by:	re (blanket)
2005-06-14 07:50:44 +00:00
des
2bb8de20fe Remove kludges intended to support src trees with partial obj trees.
Discussed with:	ru
2005-06-10 06:12:53 +00:00
dd
fd7de7f99a Remove the EXAMPLES section that describes how to sort by size using
sort(1). This functionality is provided by the -S option now, and it
is useful even though a similar effect is achievable with sort(1),
since the latter doesn't work in combination with -h. This option is
also present in NetBSD, OpenBSD, and GNU fileutils, so there's clearly
a demand for it.

Noticed by:	asmodai
2005-06-03 11:38:35 +00:00
dd
f420c0c650 Improve wording: A sort is "in" a particular order, not "by" a
particular order.
2005-06-03 11:22:06 +00:00
dd
99a2093aa5 Add the -S option to sort files by size. NetBSD and OpenBSD already
have this option with identical semantics (sorting large files first).
-r can be used to reverse the sort if that is desired.

PR:		81625
Submitted by:	Kostas Blekos <mplekos@physics.upatras.gr>, keramida
2005-06-03 11:05:58 +00:00
tjr
af75a9a411 The new name for the DIAGNOSTICS section is EXIT STATUS.
Noticed by:	ru
2005-05-31 12:57:44 +00:00
tjr
0f324ed5e8 Move information about exit status into a DIAGNOSTICS section. 2005-05-29 08:18:48 +00:00
ache
c5682ca184 Fix: printed output flags (onocr) and (onlret) same as oxtabs
PR:             81256
Submitted by:   Arseny Nasokin <tarc@tarc.po.cs.msu.su>
2005-05-26 06:57:57 +00:00
mux
18e53f0af3 Correct a few places where we called warn() when warnx() should have
been used.

Submitted by:	"Liam J. Foy" <liamfoy@sepulcrum.org>
Obtained from:	DragonFlyBSD
2005-05-19 21:33:48 +00:00
gad
2577be2213 A second attempt to adjust option-parsing on a shell command, for the
benefit of scripts start out as:     #!/bin/sh -- # -*- perl -*-
With this fix in place, we can commit a change to kern/imgact_shell.c
so FreeBSD will process the `#!' line in shell-scripts in a more
standard fashion.

PR:		16393
Mentioned on:	freebsd-arch
2005-05-16 04:32:41 +00:00
dd
a15208c6fb Add an interface to the lchflags(2) syscall. The new -h option is
analogous to chmod(1)'s -h. It allows setting flags on symbolic links,
which *do* exist in 5.x+ despite a claim to the contrary in the
chflags(1) man page.

Suggested by:	Chris Dillon
2005-05-14 23:23:10 +00:00
mp
dc094aca69 Define HAVE_STRUCT_UTMP_UT_HOST in order for the REMOTEHOST environment
variable to show up correctly.

Note: This is really a bug with the stock tcsh configure.in script not
including <sys/types.h> before <utmp.h>. But, since config.h is maintained
separate from the contrib sources, this is the correct fix.

Noticed by: ache
2005-05-04 20:21:57 +00:00
maxim
cc6dd6e064 o Typo: s/teminal/terminal/.
Submitted by:	Michal Varga
2005-04-29 11:10:27 +00:00
mp
00d3abec3b Add in FreeBSD specific options for tcsh 6.14. 2005-04-24 19:51:57 +00:00
mp
ed3d22bc12 Add the config.h resulting from running the configure script.
Note: the contents of this file has changed between 6.13 and 6.14.
The old contents of this file has been repocopied to config_p.h.
2005-04-24 19:50:22 +00:00
mp
f9691e638d Add new file (tc.nls.c) to the build. 2005-04-24 19:44:43 +00:00
keramida
517ed8e972 There is no /etc/rc.network anymore.
Submitted by:	Benjamin Rossen <b.rossen@onsnet.nu>
MFC after:	2 weeks
2005-04-17 23:22:22 +00:00
keramida
b4fe464431 Various sh(1) enhancements:
- Move the description of the ``-c string'' option closer to the option itself.
- Add an ENVIRONMENT section (1)
- Add more .Xr cross references to the SEE ALSO section.

Obtained from:  NetBSD (1)
2005-04-15 14:53:29 +00:00
scottl
986a072ce4 Document problems with writing to disks under GEOM. 2005-04-07 20:50:38 +00:00
pjd
a97367034b Add and document the 'jid' keyword for the '-o' option.
Reviewed by:	gad
MFC after:	3 days
2005-03-20 10:40:36 +00:00
obrien
ed5564cbbf Fix bin/pax doesn't wait for compress/gzip before exiting.
Submitted by:	Joerg Sonnenberger <joerg@britannica.bec.de>
Obtained from:	OpenBSD (commited fix to PR 3455)
2005-03-12 06:38:01 +00:00
keramida
df2a700f9f Use `.Pq Ql'' to quote single characters, instead of `.Pq Li''.
This makes the resulting output more aesthetically pleasing in
text-only terminals:

Reviewed by:	ru
2005-03-04 13:16:50 +00:00
keramida
0cc989219b Add a section describing the exit status of the shell.
Obtained from:	NetBSD
2005-03-04 12:40:07 +00:00
trhodes
792676bbc2 Wrap BSD r* commands in NO_RCMDS.
Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk.

Discussed with: ru, nectar
2005-03-02 11:53:22 +00:00
obrien
b871335b7a Support \H, \h, \w, \W, \$ string expansion in the prompt.
Submitted by:	mini
2005-03-01 03:35:58 +00:00
phantom
fc580aadfc Fix typo 2005-02-27 18:18:32 +00:00
trhodes
98afb7c0a2 Fix a few markup nits in previous commit.
Noticed by:	ru, who else? :)
2005-02-25 00:40:46 +00:00