我有一个这样的文件(它以单行显示)
Status: 012, Id: -1434606409zzzzz, Number: +9257884Status: 013, Id: -1434606409efwe, Number: +92465745Status: 014, Id: -1434606409fwe6, Number: +9212345
我想显示这样的格式
Status: 012, Id: -1434606409zzzzz, Number: +9257884
Status: 013, Id: -1434606409efwe, Number: +92465745
Status: 014, Id: -1434606409fwe6, Number: +9212345
是否可以?
答案1
和sed
:
sed 's/Status/\n&/g' file