/n/sources/contrib/quanstro/bcmt will turn // comments
into style(6)-approved comments. it deals with end-of-line
comments, single comments and block comments. it's
ment to be used from acme so it is likely unfit for scripting.
for example,
// Ignore network errors here. If we fail during
// synchronization, the next alarm will pick up
// the error.
gets converted to
/*
* Ignore network errors here. If we fail during
* synchronization, the next alarm will pick up
* the error.
*/
and
// Read the header.
if ((len = readn(netfd, &b->hdr, sizeof(Hdr))) <= 0) {
to
/* Read the header. */
if ((len = readn(netfd, &b->hdr, sizeof(Hdr))) <= 0) {
- erik