Re: Newline as delimiter for util:tokenize?

2004-01-06 Thread Jörg Schaible
Hi Jan-Helge,

[EMAIL PROTECTED] wrote:

> [EMAIL PROTECTED] wrote:
> 
>>How does one get this to work?
>>
>> ${some.text}
>>
>>won't work..?
>
> I'm trying to analyze the "update" log from "cleartool update" on a
> snapshot view.
> 
> This looks like:
> 
> New: sw\uml\FM.mdl \main\1
> Updated:
> sw\java\axxtmn\src\no\axxessit\client\appl\mapviewer\MapViewer.java
> \main\tmn_1.1_patch\1 \main\55
> ...
> HijackedDeleted: sw\java\build.bat \main\6 \main\10
> ...
> UnloadDeleted:
> sw\java\tools\src\no\axxessit\bd\mgt\tools\AdventNetDictionaryCreator.java
> 
> I want to count the operations. Simple enough ... one would think.
> 
> Unfortunately it's on windows, so I can't "grep | wc -l" it.

Have you tried something like (needs JDK 1.4.x):

[^/n]



Regards,
Jörg



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Newline as delimiter for util:tokenize?

2004-01-06 Thread Heiko Kundlacz
Hi Jan,

in such cases I use http://www.cygwin.org

But maybe another user here is able to help.

Another approach would be to create your own Java programm, open a 
FileStream, count lines. Rember, that you can access java classes and 
methods directly from jelly.

Heiko

[EMAIL PROTECTED] wrote:

Thanks for the advise, but it's Not An Option(tm).

I'm trying to analyze the "update" log from "cleartool update" on a 
snapshot view.

This looks like:

New: sw\uml\FM.mdl \main\1 
Updated: 
sw\java\axxtmn\src\no\axxessit\client\appl\mapviewer\MapViewer.java 
\main\tmn_1.1_patch\1 \main\55 
...
HijackedDeleted: sw\java\build.bat \main\6 \main\10 
...
UnloadDeleted: 
sw\java\tools\src\no\axxessit\bd\mgt\tools\AdventNetDictionaryCreator.java

I want to count the operations. Simple enough ... one would think.

Unfortunately it's on windows, so I can't "grep | wc -l" it.





Heiko Kundlacz <[EMAIL PROTECTED]>
06.01.2004 15:47
Please respond to "Maven Users List"
   To: Maven Users List <[EMAIL PROTECTED]>
   cc: 
   Subject:Re: Newline as delimiter for util:tokenize?

Hi

I tried this also, also with \r\n and unicode style. Without any success.

I changed completely to xml-files and read my configuration for Visual 
Source Safe from xml with xpath. This is all provided with jelly:xml

Heiko

[EMAIL PROTECTED] wrote:

 

How does one get this to work?

 ${some.text}

won't work..?

Regards, Jan-Helge

   





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 



--
--
Heiko Kundlacz   | MailTo:   [EMAIL PROTECTED]
Qnamic AG| Tel:  +41 62 209 7056
Fabrikstr. 10| Natel:+41 78 861 4006
4614 Haegendorf  | Fax:  +41 62 209 7044
Switzerland  | Homepage: http://www.qnamic.com
--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Newline as delimiter for util:tokenize?

2004-01-06 Thread jan-helge . bergesen
Thanks for the advise, but it's Not An Option(tm).

I'm trying to analyze the "update" log from "cleartool update" on a 
snapshot view.

This looks like:

New: sw\uml\FM.mdl \main\1 
Updated: 
sw\java\axxtmn\src\no\axxessit\client\appl\mapviewer\MapViewer.java 
\main\tmn_1.1_patch\1 \main\55 
...
HijackedDeleted: sw\java\build.bat \main\6 \main\10 
...
UnloadDeleted: 
sw\java\tools\src\no\axxessit\bd\mgt\tools\AdventNetDictionaryCreator.java

I want to count the operations. Simple enough ... one would think.

Unfortunately it's on windows, so I can't "grep | wc -l" it.





Heiko Kundlacz <[EMAIL PROTECTED]>
06.01.2004 15:47
Please respond to "Maven Users List"

 
To: Maven Users List <[EMAIL PROTECTED]>
    cc: 
Subject:Re: Newline as delimiter for util:tokenize?


Hi

I tried this also, also with \r\n and unicode style. Without any success.

I changed completely to xml-files and read my configuration for Visual 
Source Safe from xml with xpath. This is all provided with jelly:xml

Heiko

[EMAIL PROTECTED] wrote:

>How does one get this to work?
>
> ${some.text}
>
>won't work..?
>
>
>Regards, Jan-Helge
> 
>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Re: Newline as delimiter for util:tokenize?

2004-01-06 Thread Heiko Kundlacz
Hi

I tried this also, also with \r\n and unicode style. Without any success.

I changed completely to xml-files and read my configuration for Visual 
Source Safe from xml with xpath. This is all provided with jelly:xml

Heiko

[EMAIL PROTECTED] wrote:

How does one get this to work?

 ${some.text}

won't work..?

Regards, Jan-Helge
 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Newline as delimiter for util:tokenize?

2004-01-06 Thread jan-helge . bergesen
How does one get this to work?

 ${some.text}

won't work..?


Regards, Jan-Helge