/[Frey]/trunk/bin/check-syntax.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/bin/check-syntax.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 683 - (show annotations)
Tue Dec 2 18:02:57 2008 UTC (14 years, 1 month ago) by dpavlin
File MIME type: application/x-sh
File size: 248 byte(s)
rename syntax checker to intent-what form
1 #!/bin/sh
2
3 svk status -q | grep '.pm$' | cut -c4- | xargs -i perl -Ilib -wc {} 2>&1 \; | tee var/syntax-check
4 check=`cat var/syntax-check | grep 'syntax error' | sed -e 's/^.* at //' -e 's/ line / +/' -e 's/,.*$//'`
5 test ! -z "$check" && vi $check

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26