I am planning to create a simple script to edit a file based on values stored within a properties file. So essentially I am planning to loop through each line in the original fi
For instance you can search for strings and manipulate them in one step using sed the stream editor.
sed
echo $line | sed -rn 's:^.*/#(certs.+):\1:p'
This will print only the relevant parts after the /# of the relevant lines.
/#