Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

473.Text data calculation -- How to calculate the minimum and maximum value in each line of text?

User: editor -- 2010-04-10          << 472  474 >>
Hits: 3453
Type: Text data calculation   
Search all Text data calculation examples
How to calculate the minimum and maximum value in each line of text?
Input Sample:
12 20 8 9 37 55 
38 26 19 37 2 8 
4 6 99 28 3 7 10
Output Sample:
count=6 min=8 max=55 
count=6 min=2 max=38 
count=7 min=3 max=99
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open source text file 
2. ctrl-h open 'replace' dialog 
* set 'Replace Unit' to 'Line' 
* set 'Replace with Pattern' to: 
3. click 'Replace', done!
Download Script:  scripts/

Screenshot 1:  Replace_Window

Similar Examples:
How to calculate md5 hex value of each line of text file? (75%)
How to calculate the maximum value of the first n lines? (71%)
How to calculate the summaries of every line in a txt file? (67%)
How to find out the maximum value in each line for multiple csv file? (66%)
How to calculate sum value of every column? (61%)
How to calculate one column base on value of another column? (58%)
How to find the maximum number in each line that contains 3 numbers? (58%)
How to calculate summary of every column in a text file? (57%)

Check Demo of Text data calculation
how to calculate the minimum  how to calculate the minimum an  minimum  maximum  toc  max  calculate  calculation  calcu  calculat  maximum minimum  calculate text data  line data  replace line data  replace with data  value line  data replace  replace value in text