blob: b19adcbb6abf6740a56d8cca90ea333ce4daabf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
# last-modified: 2021-03-20 20:38:27+01:00
# requires https://github.com/soimort/translate-shell
# Arch Linux: yay -S translate-shell
clear
INPUT="$1"
cat $INPUT | sed -e '1,/^\r\{0,1\}$/d' | sed '/^>/d' > ~/Apps/Neomutt/tmp/tr.txt
trans :en -no-browser file:///home/philip/Apps/Neomutt/tmp/tr.txt
exit 0
|