freebsd-nq/usr.sbin/bsdconfig
Devin Teske 437f652038 jilles accurately advises that, in the context of shell redirection, the `:'
builtin is processed specially and thus the `: > file' syntax for example
will cause premature termination of the current shell on redirection-error.

The `true' builtin on the other-hand is not included in this special
processing (for compatibility reasons to satisfy legacy scripts programmed
for systems where `true' is not a builtin).

Change bare `: > file' syntax into `true > file' syntax to prevent premature
shell termination in the event of redirection-error.

NOTE: Instances of `: > file' that appear within a sub-shell have been left
unmodified as these will not cause premature termination of the main script.

Reviewed by:	jilles, adrian (co-mentor)
Approved by:	adrian (co-mentor)
2012-09-22 22:16:07 +00:00
..
console Reverse SVN r240770 -- jilles@ made a suggestion that allowed us to redesign 2012-09-21 19:03:25 +00:00
diskmgmt Move major includes into /usr/share/bsdconfig for easy external access. 2012-09-18 22:28:42 +00:00
docsinstall Move major includes into /usr/share/bsdconfig for easy external access. 2012-09-18 22:28:42 +00:00
dot Move major includes into /usr/share/bsdconfig for easy external access. 2012-09-18 22:28:42 +00:00
examples
include Spelling and whitespace corrections. 2012-09-22 03:11:35 +00:00
mouse Reverse SVN r240770 -- jilles@ made a suggestion that allowed us to redesign 2012-09-21 19:03:25 +00:00
networking Reverse SVN r240770 -- jilles@ made a suggestion that allowed us to redesign 2012-09-21 19:03:25 +00:00
password Change all invocations of dialog(1) to no-longer require temporary files. 2012-09-20 23:44:13 +00:00
security Change all invocations of dialog(1) to no-longer require temporary files. 2012-09-20 23:44:13 +00:00
share Replace "( : ${var?} )" syntax with better "[ ${var+set} ]" syntax. 2012-09-22 04:04:02 +00:00
startup Replace "( : ${var?} )" syntax with better "[ ${var+set} ]" syntax. 2012-09-22 04:04:02 +00:00
timezone jilles accurately advises that, in the context of shell redirection, the `:' 2012-09-22 22:16:07 +00:00
ttys Move major includes into /usr/share/bsdconfig for easy external access. 2012-09-18 22:28:42 +00:00
usermgmt Reverse SVN r240770 -- jilles@ made a suggestion that allowed us to redesign 2012-09-21 19:03:25 +00:00
bsdconfig Reverse SVN r240770 -- jilles@ made a suggestion that allowed us to redesign 2012-09-21 19:03:25 +00:00
bsdconfig.8
Makefile Move major includes into /usr/share/bsdconfig for easy external access. 2012-09-18 22:28:42 +00:00
USAGE