Spelling errors.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 14 Jan 2007 15:14:52 +0000 (15:14 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 14 Jan 2007 15:14:52 +0000 (15:14 +0000)
commitfab926b556d8b6b45841770658faaabaf28a5c99
tree36fa3a1f6b6f1ab1f72ff46e1356bafa63b430ba
parentd53b52ae70dfc678105f9e6020e51e16ca2f6943
Spelling errors.

POSIX demands that set's output (when invoked without arguments) should be
sorted.  Sort the variables before printing.

Provide a reasonable error message for `export -p var'.
Use argv rather than argptr since getopt() is used here.

Obtained-from:  FreeBSD
bin/sh/var.c