Re: Installing NetBSD 8.2 on model 375

Martin Husemann <[email protected]> Wed, 2 Dec 2020 19:53:42 +0100
Newsgroups gmane.os.netbsd.devel.installation,gmane.os.netbsd.ports.hp300
Message-ID <[email protected]>
On Thu, Dec 03, 2020 at 03:49:29AM +0900, Izumi Tsutsui wrote:
> This is caused by the following lines:
> 
> https://nxr.netbsd.org/xref/src/distrib/miniroot/install.sub?r=1.53#1612
> ---
>    1612 mi_filter_dmesg() {
>    1613 	# Remove timestemps, sort.
>    1614 	dmesg | awk '{ h=$0; gsub("^\[[0-9. ]*\] ", "", h); print h; }' \
>    1615 	    | sort -u
>    1616 }
> ---
> 
> Maybe it should be gsub("^\\[[0-9. ]*\\] ", "", h) ?

I may be overlooking something, but isn't it really just plain

	gsub("^[[0-9. ]*\\] ", "", h)

?

Martin