Re: [CMS-PIPELINES] Incorrect Handling of Negative Numbers With PICK?

2016-08-23 Thread Glenn Knickerbocker
On 8/23/2016 4:58 PM, Ronald van der Laan wrote: > You're doing string compares, so "-0.." is less than "-1". >> pipe ' (end ?) < ' filename filetype filemode, >> '| pick w2 <= /-1/ ', No, he's using the newer numerical comparison operator "<=", not the string comparison operator

Re: [CMS-PIPELINES] Incorrect Handling of Negative Numbers With PICK?

2016-08-23 Thread Michael Harding
Wrong, that should be doing a numeric compare. Look it up. A comparison operator of <<= would be for a string compare. "<=" asks for numeric comparison. -- Mike Harding z/VM System Support /sp CMSTSO Pipelines Discussion List wrote on 08/23/2016 01:58:27 PM: >

Re: [CMS-PIPELINES] Incorrect Handling of Negative Numbers With PICK?

2016-08-23 Thread Ronald van der Laan
Michael, You're doing string compares, so "-0.." is less than "-1". You'll also find that "-200.000" will not pass your filter... Try ... | pick substr 1 of w2 = /-/ and substr 2-* of w2 >>= /0001.00/ | ... Op dinsdag 23 augustus 2016 heeft Michael Marrer

[CMS-PIPELINES] Incorrect Handling of Negative Numbers With PICK?

2016-08-23 Thread Michael Marrer
This would seem to be basically working, as I do get the numbers less than negative 1 in the output file: pipe ' (end ?) < ' filename filetype filemode, '| pick w2 <= /-1/ ', '| > ' filename ' WORDOVER ' filemode, ' ' The problem is that I get ALL negative numbers, not just