Nicolas Legrand wrote:
> I've been a bit confused to see in upgrade46.html commands with the
> '#' prompt at the end of the page (for sysmerge and pkg_add) since no
> preceding commands had a prompt. Reading '# sudo' was even
> weirder. Wouldn't it be more consistent with the rest of the page to
> remove them?

Hi,

It is quite traditional to use '#' or '$' to indicate whether a
command is to be executed as root or as normal user, it is Bourne/Korn
shell lingo.

In this case the patch should be something like:
-# <b>sudo sysmerge -as $RELEASEPATH/etc46.tgz -x $RELEASEPATH/xetc46.tgz</b>
+$ <b>sudo sysmerge -as $RELEASEPATH/etc46.tgz -x $RELEASEPATH/xetc46.tgz</b>

Or possibly just:
-# <b>sudo sysmerge -as $RELEASEPATH/etc46.tgz -x $RELEASEPATH/xetc46.tgz</b>
+# <b>sysmerge -as $RELEASEPATH/etc46.tgz -x $RELEASEPATH/xetc46.tgz</b>

Either or, but the pkg_add line is just fine.

-Bryan

Reply via email to