I have a text with the following content:
Zhang San
Li Si
Wang Er Ma Zi
Xiao Bai
Xiao Hei
Xiao Qiang
...... rem: there are N lines in the middle
Xiao Er
Zhao Da
QQ
DOS
WIN98
WINXP
Now I want to achieve swapping WINXP and Zhang San to get the following text: (that is, swap the first line and the last line of the text)
WINXP
Li Si
Wang Er Ma Zi
Xiao Bai
Xiao Hei
Xiao Qiang
...... rem: there are N lines in the middle
Xiao Er
Zhao Da
QQ
DOS
WIN98
Zhang San
Zhang San
Li Si
Wang Er Ma Zi
Xiao Bai
Xiao Hei
Xiao Qiang
...... rem: there are N lines in the middle
Xiao Er
Zhao Da
DOS
WIN98
WINXP
Now I want to achieve swapping WINXP and Zhang San to get the following text: (that is, swap the first line and the last line of the text)
WINXP
Li Si
Wang Er Ma Zi
Xiao Bai
Xiao Hei
Xiao Qiang
...... rem: there are N lines in the middle
Xiao Er
Zhao Da
DOS
WIN98
Zhang San
