1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00
tmate-ssh-server/tools/fix-ids.sh
2011-07-09 09:42:33 +00:00

9 lines
180 B
Bash

# $Id$
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