The 'translate' esh plugin ------------------------------------------------------ translate is a builtin command that lets you translate text between two languages and detect what language your text is in usage: translate or translate -h will display help information translate [LANG_CODE] [INPUT] will translate input according to LANG_CODE translate -l displays all supported LANG_CODEs translate -d [INPUT] will output which language the input is in Example: "translate en-de hello world" Hallo Welt NOTE: If you get a segfault while running this plugin, it is most likely because you do not check if the return value from get_cmd_for_pid is NULL. This is a problem with this plugin only because it uses a fork which the shell's SIGCHLD handler will try to handle and will be unable to find the cmd. ------------------------------------------------------ Created by Tony Reiter (treiter@vt.edu) and Andriy Katkov (akatkov@vt.edu) CS3214 - Spring 2015