pisahkan file berdasarkan pola

cat input.txt | awk -v RS="pattern_to_split" '{ print $0 > "out_name" NR }' 
Hutch Polecat