I have a file and want to look for value from that file using shell script.
So I'm trying to grep value using the below code.
VAR=($grep -Po "(?source-no": ")(\d+)" file)
but it's giving an error
grep missing )
Data in the file looks like below
"source-no" : "123456",