Cut txt file to fit googl translator



https://unix.stackexchange.com/questions/192445/how-to-truncate-text-lines-to-n-characters-maximum


You can use cut to achieve this (using N=80 here):

some-command | cut -c -80
or

cut -c -80 some-file.txt
Replace 80 with the number of cha


https://www.ostechnix.com/use-google-translate-commandline-linux/


https://www.thegeekstuff.com/2013/06/cut-command-examples
https://www.ibm.com/developerworks/aix/library/au-unixtext/index.html

Kommentit