2 rem Copyright (C) 2004-2008 the TortoiseSVN team
\r
3 rem This file is distributed under the same license as TortoiseSVN
\r
6 rem $Author: luebbe $
\r
7 rem $Date: 2008-09-29 19:22:31 +0800 (Mon, 29 Sep 2008) $
\r
10 rem Count messages in given PO File that match the given attributes
\r
12 FOR /F "usebackq skip=1" %%c IN (`msgattrib %* 2^>nul ^| grep -c msgid`) DO SET /A count=%%c
\r
13 rem If count is set, then its always one too high
\r