tmate/tools/fix-ids.sh

9 lines
180 B
Bash
Raw Normal View History

2011-07-09 11:42:33 +02:00
# $Id$
2009-06-25 18:21:32 +02:00
for i in *.[ch] tmux.1; do
(head -1 $i|grep '$OpenBSD' >/dev/null) || continue
mv $i $i~ || exit
2009-07-01 21:03:34 +02:00
sed 's/\$OpenBSD.* \$/$\Id$/' $i~ >$i || exit
2009-06-25 18:21:32 +02:00
echo $i
done