cara menambahkan baris baru ke setiap baris
sed G filename
try
cat new.txt | sed -e 's/pattern/\'$'\n/g'
Hutch Polecat
sed G filename
try
cat new.txt | sed -e 's/pattern/\'$'\n/g'