我需要在 shell 中重新格式化文件,所以我只在某些模式之前留下“新行”。前任:
输入:
Europe First
Asia Second
Africa Third
Australia Fourth
Europe Sixth
Australia Seventh
Europe Eight
America Last
输出:
Europe FirstAsia SecondAfrica ThirdAustralia Fourth
Europe SixthAustralia Seventh
Europe EightAmerica Last
模式是“欧洲”