Rivoreo Source Code Repositories
src.rivoreo.one
/
tmux
/
28a0b6fd20cbd8834c8918836ed42a6765c4cdf0
/
.
/
tools
/
fix-ids.sh
blob: 351605045c2577e4e8f25ca3e57a4462451fe441 [
file
] [
log
] [
blame
] [
raw
]
# $Id: fix-ids.sh,v 1.3 2009-07-01 19:03:34 nicm Exp $
for
i
in
*.[
ch
]
tmux
.
1
;
do
(
head
-
1
$i
|
grep
'$OpenBSD'
>/
dev
/
null
)
||
continue
mv $i $i
~
||
exit
sed
's/\$OpenBSD.* \$/$\Id$/'
$i
~
>
$i
||
exit
echo $i
done