I have log which contains lines of data:Mon Apr 20 03:15:18 EDT 2015: my|data|data|dataI am trying to write a script which would extract just the data fromthe log, stripping the leading time stamps:while read pdo   echo $p | sed s/.* EDT $year: //g > replay_message_$count.txt;   count=$((count+1));done < $fileNameRight now I am using the pattern .* EDT $year:, where $year is aparameter passed by the user.What would be a way of extracting the data without having to pass the year as parameter?
How to strip time stamps from a file?
bash;sed;awk