Convert japanese sentence from horizontal to vertical
git clone https://github.com/Earture/vja
cd vja
make install
vja < sample.txt
or cat sample.txt | vja
Please make sure that the text you enter is utf8 encoded Japanese full width characters, if not you could use fja to convert it first.
cat xxx.txt | fja | vja
Of course, you can also customize the number of text contained in each column
vja -v 10 < xxx.txt
or cat xxx.txt | vja -v 10