title: How to search a line containing word in file and from that line to end of file should be echo the date using shell script
body: <pre><code>cat "file.log"| grep -q '2013-11-10'
  while read line
  do
  echo  file_content_time=`echo $line | sed -e 's/\([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0- 9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\).*/\1/'`
  if [ $? -eq 0 ]
  then
  echo comparison_start_date=`date -d "$file_content_time" +%Y%m%d`
  fi
  done &lt; 'file.log'
  </code></pre>
  
  <p>/* Here I am trying find out the line containing '2013-11-10' and from that line onwards date has to display .*/</p>