mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-26 16:48:56 +01:00
9 lines
229 B
Bash
9 lines
229 B
Bash
# $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
|