1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Using find instead of grep -r.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@555 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-31 12:50:57 +00:00 committed by cras
parent 8c6bfaac6a
commit 1fca5f1c7b

View File

@ -8,10 +8,12 @@
# #
# This path has to be changed. It should point to your irssi/src directory # This path has to be changed. It should point to your irssi/src directory
# Remember to include the asterisk ('*'). # Remember to include the asterisk ('*').
$SRC_PATH='src/*'; $SRC_PATH='src';
# This is quick and dirty, but works for sure :) # This is quick and dirty, but works for sure :)
$FOO = `grep -r -e '/* SYNTAX:' $SRC_PATH | sed 's/.*SYNTAX: //' > irssi_syntax`; #$FOO = `grep -r -e '/* SYNTAX:' $SRC_PATH | sed 's/.*SYNTAX: //' > irssi_syntax`;
$FOO = `find $SRC_PATH -name '*.c' -print0 | xargs -l30 -0 grep -e '/* SYNTAX:' | sed 's/.*SYNTAX: //' > irssi_syntax`;
while (<docs/help/in/*.in>) { while (<docs/help/in/*.in>) {
open (FILE, "$_"); open (FILE, "$_");
@data = <FILE>; @data = <FILE>;