Completed

copy a value from a text file and append it to another text file

i need to copy the numeral value from the following string and append it to an existing text file.

i want to include it in my existing batch file trough a CALL function. preferably in a single line or an external file if not other wise possible.

here is the string from which i need the 'average' value:

[Parsed_psnr_0 @ 0000000003893f20] PSNR y:18.250954 u:33.359343 v:36.559083 average:19.962629 min:11.945076 max:41.254674

thanks

i think the solution is here by David Wyatt but i don't know how to get it to work:
https://goo.gl/JS5KQo

Skills: Powershell

See more: photoshop script add text file, add text file project java, delphi project add text file, read from one file and write to another file in python, python copy file from one directory to another, write a program to copy one file to another file in java, python append one file to another, copy specific lines from one file to another in linux, python copy specific lines from file, python copy contents of one file to another, python write to specific line in file, copy web page text file, add text file linked list java, javascript input value add text, copy source webpage text file, copy webpage content text file, read text file find average, macro script add text file, add line text file vba, add text picture file

About the Employer:
( 7 reviews ) Singapore, Switzerland

Project ID: #15758998

Awarded to:

AdrianCJ

There you go, Sir: '[Parsed_psnr_0 @ 0000000003893f20] PSNR y:18.250954 u:33.359343 v:36.559083 average:19.962629 min:11.945076 max:41.254674' -split ' ' | % { if ($_ -match 'average'){ $_ -replace "[^.0-9]" , ''} }

$20 USD in 1 day
(5 Reviews)
2.3

2 freelancers are bidding on average $20 for this job

kampkelly

Hello, I can help you copy the numerical values from that string and append them to your text file. Relevant Skills and Experience Python, terminal, nodejs

$20 USD in 1 day
(0 Reviews)
0.0