Rivoreo Source Code Repositories
src.rivoreo.one
/
tmux
/
63753735ec0ce0607cc7c34b677e2e5fb8faa6b6
/
.
/
tools
/
fix-ids.sh
blob: 39bec82621f6afe4a326cdfbda3d4d63dcc6d055 [
file
] [
log
] [
blame
] [
raw
]
# $Id: fix-ids.sh,v 1.2 2009-06-25 16:34:50 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