awk '/start_pattern/, /stop_pattern/' <File_Name>
or
sed -n -e '/start_pattern/,/stop_pattern/p' <File_Name>
or
grep "start_pattern.*stop_pattern" <File_Name>
or
sed -n -e '/start_pattern/,/stop_pattern/p' <File_Name>
or
grep "start_pattern.*stop_pattern" <File_Name>
No comments :
Post a Comment