15 lines
182 B
Bash
15 lines
182 B
Bash
#!/bin/bash
|
|
|
|
ascii() {
|
|
coproc toascii {
|
|
perl -e '
|
|
use utf8;
|
|
use Text::Unidecode;
|
|
use open qw(:std :utf8);
|
|
$| = 1;
|
|
while (<>) {
|
|
print(unidecode($_));
|
|
}'
|
|
}
|
|
}
|