我有来自 awk 命令的以下输出..我想美化输出如下..是否有 sed 命令可以给我预期的输出?
CURRENT OUTPUT:-
https://code-comp.com/308271
(there is white space line here)
https://code-comp.com/308270
466197
https://code-comp.com/308263
470188
https://code-comp.com/308262
https://code-comp.com/308261
以下是预期的输出
EXPECTED OUTPUT:-
https://code-comp.com/308271
https://code-comp.com/308270 466197
https://code-comp.com/308263 470188
https://code-comp.com/308262
https://code-comp.com/308261