【发布时间】:2018-07-15 12:49:32
【问题描述】:
我有一个文本文件,其中包含按作者排序的书籍列表,名为author.txt。我想从author.txt 列表文件中创建一个按标题和作者命名为title.txt 的新列表。
author.txt 在此布局中保持不变:“作者姓名”“空格”“连字符”“空格”“标题”。
摘录如下:
Aaron James - Assholes--A Theory
Adam Grant - Originals_ How Non-Conformists Move the World
Adam Lashinsky - Inside Apple
Adam Penenberg - Viral Loop (Facebook to Twitter)
Adam Rothstein - The End of Money
Agatha Christie - And Then There Were None
Al Murray - Let's Re-Great Britain
Alan Dean Foster - The Dig
Alan Furst - Night Soldiers
Alan Glynn - Limitless
Alan Greenspan - The Map and the Territory
Alan Moore - V for vendetta
Alastair Reynolds - Century Rain
【问题讨论】:
标签: sorting batch-file find