Diberikan serangkaian garis yang terlihat mirip dengan ini:
2001 "Some Kind of Title," Author's Name, Publication Name, 1 Mar.
2002 "Some Kind of Title," Author's Name, Publication Name, 12 Oct.
2003 "Some Kind of Title," Author's Name, Publication Name, 8 Apr.
2004 "Some Kind of Title," Author's Name, Publication Name, 3 Jun.
Apakah ada cara agar saya dapat mengambil empat karakter pertama (tahun), dan menyalinnya ke akhir baris, sehingga terlihat seperti ini:
2001 "Some Kind of Title," Author's Name, Publication Name, 1 Mar. 2001
2002 "Some Kind of Title," Author's Name, Publication Name, 12 Oct. 2002
2003 "Some Kind of Title," Author's Name, Publication Name, 8 Apr. 2003
2004 "Some Kind of Title," Author's Name, Publication Name, 3 Jun. 2004
:%g/^\d\{4}\d\@!/s/^\(\d\{4}\).*\zs/ \1/
.