Re: Syntax errors in 7.8 -> 7.9 upgrade instruction
Jonathan Gray <[email protected]>
| Newsgroups | gmane.os.openbsd.tech |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jun 10, 2026 at 01:31:39PM +0200, Anton Hvornum wrote:
> Hi.
>
> I posted to bugs@ earlier, but just found that diffs can be sent here, so
> I'm shooting my shot in attempt to patch
> https://www.openbsd.org/faq/upgrade79.html by doing:
>
> diff --git a/faq/upgrade79.html b/faq/upgrade79.html
> index 4f5e4cc91..9b2055a7a 100644
> --- a/faq/upgrade79.html
> +++ b/faq/upgrade79.html
> @@ -352,7 +352,7 @@ unattended or interactive upgrade process is not
> possible.
>
> Â Â <pre class="cmdbox">
> Â Â # cd /etc
> -Â # ifconfig trunk0 | awk '/lladdr/ { print "lladdr $2" } > hostname.aggr0
> +Â # ifconfig trunk0 | awk '/lladdr/ { print "lladdr " $2 }' >
> hostname.aggr0
or perhaps just
# ifconfig trunk0 | awk '/lladdr/ { print $1, $2 }' > hostname.aggr0
> Â Â # cat hostname.trunk0 >> hostname.aggr0
> Â Â # echo up >> hostname.aggr0
> Â Â # rm hostname.trunk0<!--
>
>
> This should fix two syntax errors in the `awk` example.
>
> Have a great day,
> //Anton "Torxed" Hvornum
>
>