Let's say we have a file named profile.cfg
containing the following:
user.name=Duvdevan
user.email=duvdevan@duvdevan.duv
user.web=http://duvdevan.duv
user.country=Bosnia/Herzegovina
user.age=26
user.biography="A web developer.\n\nLikes echo command..."
Now, I'd like to update contents of line three, the user.web
property and place it in the same position as it is currently to keep above and bellow contents as they are.
All I have tried so far is: cat profile.cfg | grep user.web
and I get the value of that line...