Transposition
Transpose the original lines in separate columns, one for each line.
Start file
ultricies, vehicula, felis, sed, auctor, aenean, euismod, semper, quam, dapibus nibh, consequat, consequat, maecenas, sit, amet, mauris, justo, quis, porttitor curabitur, pharetra, euismod, orci, sit, amet, ullamcorper, mi, tincidunt, et vitae, lorem, at, mi, feugiat, convallis, ac, eget, dui, fusce blandit, iaculis, nulla, sit, amet, dolor, nec, est, ornare, volutpat
End file
ultricies nibh curabitur vitae blandit vehicula consequat pharetra lorem iaculis felis consequat euismod at nulla sed maecenas orci mi sit auctor sit sit feugiat amet aenean amet amet convallis dolor euismod mauris ullamcorper ac nec semper justo mi eget est quam quis tincidunt dui ornare dapibus porttitor et fusce volutpat
View Diff
1,5c1,10 < ultricies, vehicula, felis, sed, auctor, aenean, euismod, semper, quam, dapibus < nibh, consequat, consequat, maecenas, sit, amet, mauris, justo, quis, porttitor < curabitur, pharetra, euismod, orci, sit, amet, ullamcorper, mi, tincidunt, et < vitae, lorem, at, mi, feugiat, convallis, ac, eget, dui, fusce < blandit, iaculis, nulla, sit, amet, dolor, nec, est, ornare, volutpat --- > ultricies nibh curabitur vitae blandit > vehicula consequat pharetra lorem iaculis > felis consequat euismod at nulla > sed maecenas orci mi sit > auctor sit sit feugiat amet > aenean amet amet convallis dolor > euismod mauris ullamcorper ac nec > semper justo mi eget est > quam quis tincidunt dui ornare > dapibus porttitor et fusce volutpat
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 31 remaining solutions by signing in and submitting your own entry
#32 Global Maquereau / @GlobalMaquereau - Score: 97 - 12/24/12 @ 10:32
:%s/, /\r/g<CR>39kqq<C-V>9j$y10kqA <Esc>p10j10dd@qA <Esc>p10j10dd@qA <Esc>p@<Esc>10j10dd@qA <Esc>p10j10dd:wq<CR>
0 comments