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: 22.214.171.124.Build.860; IP address: xxx.xxx.xxx.xx;
I want to grab "IP address:" to provide input to my rest of the script