freebsd-dev/tools
Jilles Tjoelker 84fbdd8ca0 sh: Expand assignment-like words specially for export/readonly/local.
Examples:
  export x=~
now expands the tilde
  local y=$1
is now safe, even if $1 contains IFS characters or metacharacters.

For a word to "look like an assignment", it must start with a name followed
by an equals sign, none of which may be quoted.

The special treatment applies when the first word (potentially after
"command") is "export", "readonly" or "local". There may be quoting
characters but no expansions. If "local" is overridden with a function there
is no special treatment ("export" and "readonly" cannot be overridden with a
function).

If things like
  local arr=(1 2 3)
are ever allowed in the future, they cannot call a "local" function. This
would either be a run-time error or it would call the builtin.

This matches Austin Group bug #351, planned for the next issue of POSIX.1.

PR:		bin/166771
2012-07-15 10:19:43 +00:00
..
bsdbox Import the first cut of "bsdbox". 2012-01-06 00:56:31 +00:00
build Change language in WITH_BSDCONFIG to match other options, and regen 2012-07-14 10:17:47 +00:00
debugscripts Spelling fixes for tools/ 2011-12-30 00:04:11 +00:00
diag
kerneldoc - remove non-existent input directories from the configs 2012-02-01 10:59:19 +00:00
KSE Spelling fixes for tools/ 2011-12-30 00:04:11 +00:00
LibraryReport
regression sh: Expand assignment-like words specially for export/readonly/local. 2012-07-15 10:19:43 +00:00
sched
test Add a test program, written by Stephan Uphoff, which demonstrates the 2012-07-11 19:12:10 +00:00
tools Allow continuous packet transmission (via -t 0) 2012-07-06 17:03:43 +00:00
install.sh
make_libdeps.sh - Update FreeBSD Heimdal distribution to version 1.5.1. This also brings 2012-03-22 08:48:42 +00:00
README
tinder.sh Add a comment that shows how to limit the build to the specific list of arches. 2011-11-28 14:03:36 +00:00

$FreeBSD$

This directory tree contains tools used for the maintenance and
testing of FreeBSD.  There is no toplevel Makefile structure since
these tools are not meant to be built as part of the standard system,
though there may be individual Makefiles in some of the subdirs.

Please read the README files in the subdirs for further information.