Skip to content

Instantly share code, notes, and snippets.

@greymd
Created February 12, 2017 14:44
Show Gist options
  • Select an option

  • Save greymd/6cec00868be7a666b7504f83b1ad9d65 to your computer and use it in GitHub Desktop.

Select an option

Save greymd/6cec00868be7a666b7504f83b1ad9d65 to your computer and use it in GitHub Desktop.
Vimで響けユーフォニアムループ

Ref:https://togetter.com/li/1041621

$ echo "$(vim -Esc "put = join(split(repeat('響け!ユーフォニアム',11),'.\{11}\zs'), '\\x0a')" -c 'print|q!')"
響け!ユーフォニアム響
け!ユーフォニアム響け
!ユーフォニアム響け!
ユーフォニアム響け!ユ
ーフォニアム響け!ユー
フォニアム響け!ユーフ
ォニアム響け!ユーフォ
ニアム響け!ユーフォニ
アム響け!ユーフォニア
ム響け!ユーフォニアム
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment