lyx_mirror/development/keystest/find_in_finals
Pavel Sanda 149bd1ab7b Next contribution to key tests from John McCabe-Dansted.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg152761.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30451 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 15:52:43 +00:00

10 lines
181 B
Bash

#!/bin/sh
# Searchs for a string in all the final versions
for f in `find . -name "last_crash_sec"`
do
SEC=`cat $f`
g=`echo $f| sed s/last_crash_sec/$SEC/`
grep "$1" $g*
done