1*0a6a1f1dSLionel Sambuc#!/bin/sh 2*0a6a1f1dSLionel Sambuc 3*0a6a1f1dSLionel Sambucfor i 4*0a6a1f1dSLionel Sambucdo 5*0a6a1f1dSLionel Sambucsed -e '/^#ifndef lint/ { 6*0a6a1f1dSLionel Sambuci\ 7*0a6a1f1dSLionel Sambuc#include <sys/cdefs.h>\ 8*0a6a1f1dSLionel Sambuc#if 0 9*0a6a1f1dSLionel Sambuc}' -e '/^#endif.*not\ lint.*/ { 10*0a6a1f1dSLionel Sambuca\ 11*0a6a1f1dSLionel Sambuc#else\ 12*0a6a1f1dSLionel Sambuc__RCSID("$NetBSD: addrcsid,v 1.1 2014/01/26 21:46:49 christos Exp $");\ 13*0a6a1f1dSLionel Sambuc#endif 14*0a6a1f1dSLionel Sambuc}' $i > tmp$$ && mv tmp$$ $i 15*0a6a1f1dSLionel Sambucdone 16