Vi commands (for those who solve the test too fast)

If you are bored during the test, solve the following tasks using Vi:

  1. create a file containing 1337 lines, each saying: "I will not use Emacs"
  2. replace all occurences of "will not use Emacs" with "will always use joe"

Helpful links:

http://www.yolinux.com/TUTORIALS/LinuxTutorialAdvanced_vi.html http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html

Zadnja sprememba: ponedeljek, 22. oktober 2012, 21:12