hello there ...
am facing problem in sed command , i was trying write a bash script that do the following : search for the line that contain :@ , then save the line that contain and replace it with another line ....as following :
#! /bin/bash
echo "Please enter the ip address of you file"
read ipnumber
find=`grep ':@' application.properties` # find the line
input="connection.url=jdbc\
racle\:thin\:@$ipnumber\:1521\:billz" # new line
echo `sed "s/'${find}'{/'${input}'{/g" application.properties` # replace line