The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

eng2kor - App::eng2kor CLI

VERSION

version v0.0.2

SYNOPSIS

eng2kor [--help|-h] [--list|-l] [--src|-s] [--dst|-d] [--reverse|-r] ARGS...
    --help, -h        show this message
    --list, -l        show set src and dst
    --src, -s         source lang, default 'en', but you can change default via ENV{E2K_SRC}
    --dst, -d         destination lang, default 'ko', but you can change default via ENV{E2K_DST}
    --reverse, -r     swap 'src' and 'dst'

see below command for more detail.
$ perldoc -t eng2kor
$ perldoc -t Acme::eng2kor

### example
eng2kor -h                                                          # show help message
eng2kor -l                                                          # show set src and dst
eng2kor english                                                     # English to Korean
eng2kor hello world                                                 # multiple
eng2kor "this is a sentence"                                        # sentence
eng2kor --src=ko --dst=en 안녕하세요                                # Korean to English
eng2kor -s ja こんにちは                                            # Japanese to Korean
eng2kor -r 안녕하세요                                               # swap 'src' and 'dst'
echo "word" | eng2kor                                               # use STDIN to ARG

### add below line to your .vimrc
set keywordprg=eng2kor                                              # type 'Shift + k' on a word what you find.
map <C-e> :!eng2kor                                                 # type 'Ctrl + e'

SEE ALSO

* Acme::eng2kor

AUTHOR

hshong <hshong@perl.kr>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by hshong.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.