I am trying to get two input from a file .
echo "enter clientname"
echo print|nsradmin -s $clientname -p390113|egrep 'NetWorker version|IP address'>> output_$clientname
the content of the file would be :
$ cat test_new1
NetWorker version: 126.96.36.199.Build.860; IP address: xxx.xxx.xxx.xx;
I want to grab "IP address:" to provide input to my rest of the script