Étant donné une série de lignes qui ressemblent à ceci:
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.
Existe-t-il un moyen de saisir ces quatre premiers caractères (l'année) et de les copier à la fin de la ligne, pour que cela ressemble à ceci:
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/
.