summaryrefslogtreecommitdiffstats
path: root/src/lib/krb4/sed-pl10.sh
blob: a6ab27c969d891e102d8230f7e2a3059b8532320 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# Produce a sed script for converting Kerberos V4 pl10 filenames to proposed
# names -- for converting old makefiles and doc.
# We fix any "oldfoo." into "newfoo." including .c and .o and .h files.
awk '/^@ / {	
		if ($2 != $4)
			print "s/" $2 "/" $4 "/g"
	  }
     /^@sed / { print $2 }
    ' <ren.msg | sed 's/\.c/\\./g'