Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2004 15:17:29 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        ports@freebsd.org
Subject:   REINPLACE_CMD file curruption
Message-ID:  <Pine.BSF.4.53.0404121513190.78075@e0-0.zab2.int.zabbadoz.net>

next in thread | raw e-mail | index | archive | help
Hi,

while doing some patching on the now removed Mosaic port I had seen
currupted files from REINPLACE_CMD on a HEAD machine (world from
2004-04-08). Some files had been shortened, others had size of zero
and some went fine.

changing the REINPLACE_CMD to

.for file in $(file_list)
	cp file file.bak
	sed -e '....' < file.bak > file
.endfor

worked without problems for all files.

Anybody else seen problems with REINPLACE_CMD lately ?

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74				http://www.zabbadoz.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.53.0404121513190.78075>