summaryrefslogtreecommitdiff
path: root/syntax.pl
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-31 19:11:55 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-31 19:11:55 +0000
commit421587eb740544d2291f4c63d9320b0561296394 (patch)
treea88523888dceb385825129de7cd7241bf32fcec5 /syntax.pl
parent7d3e27370da4a76649d8e49bf5abbf78d6d4dc3b (diff)
downloadirssi-421587eb740544d2291f4c63d9320b0561296394.zip
Fixes..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@557 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'syntax.pl')
-rwxr-xr-xsyntax.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/syntax.pl b/syntax.pl
index 697d3df0..5bcb8a3a 100755
--- a/syntax.pl
+++ b/syntax.pl
@@ -11,8 +11,7 @@
$SRC_PATH='src';
# This is quick and dirty, but works for sure :)
-#$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`;
+$FOO = `find src -name '*.c' -exec grep -e '/* SYNTAX:' \{\} \\; | sed 's/.*SYNTAX: //' > irssi_syntax`;
while (<docs/help/in/*.in>) {
open (FILE, "$_");