哪些命令行工具让你相见恨晚( 四 )

原答案的 bash 和 zsh 脚本不是最佳版本,已删除;现在显示的是 @拆封 提供的脚本:v2() { declare q="$*"; curl --user-agent curl "https://v2en.co/${q// /%20}";}v2-sh() { while echo -n "v2en\u0026gt; "; read -r input; ]; do v2 "$input"; done;}v2-sh 可以直接进入交互模式,不用重复输入 v2 前缀现在,你可以开始装逼了:
$ v2 cool down╔═════════════════════════════════════════════║ _____ ____ ____ _ _____ ____ __ __ _ _ ║ / ____| / __ \\ / __ \\ | | | __ \\ / __ \\ \\ \\ / /| \\ | |║ | | | | | || | | || | | | | || | | | \\ \\ /\\ / / | \\| |║ | | | | | || | | || | | | | || | | | \\ \\/ \\/ / | . ` |║ | |____ | |__| || |__| || |____ | |__| || |__| | \\ /\\ / | |\\ |║ \\_____| \\____/ \\____/ |______| |_____/ \\____/ \\/ \\/ |_| \\_|║ ║─────────────────────────────────────────────║ 发音:║ ku:l daun(英)| kul da?n(美)║─────────────────────────────────────────────║ 解释:║ (使)变凉、冷静下来、消气、降温║─────────────────────────────────────────────║ Try curl v2en.co/:help for more commands.╚═════════════════════════════════════════════$ v2-shv2en\u0026gt; cool down╔═════════════════════════════════════════════║ _____ ____ ____ _ _____ ____ __ __ _ _ ║ / ____| / __ \\ / __ \\ | | | __ \\ / __ \\ \\ \\ / /| \\ | |║ | | | | | || | | || | | | | || | | | \\ \\ /\\ / / | \\| |║ | | | | | || | | || | | | | || | | | \\ \\/ \\/ / | . ` |║ | |____ | |__| || |__| || |____ | |__| || |__| | \\ /\\ / | |\\ |║ \\_____| \\____/ \\____/ |______| |_____/ \\____/ \\/ \\/ |_| \\_|║ ║─────────────────────────────────────────────║ 发音:║ ku:l daun(英)| kul da?n(美)║─────────────────────────────────────────────║ 解释:║ (使)变凉、冷静下来、消气、降温║─────────────────────────────────────────────║ Try curl v2en.co/:help for more commands.╚═════════════════════════════════════════════v2en\u0026gt; niubility╔═════════════════════════════════════════════║ _ _ _____ _ _ ____ _____ _ _____ _______ __ __║ | \\ | ||_ _|| | | || _ \\ |_ _|| | |_ _||__ __|\\ \\ / /║ | \\| | | | | | | || |_) | | | | | | | | | \\ \\_/ / ║ | . ` | | | | | | || _ \u0026lt; | | | | | | | | \\ / ║ | |\\ | _| |_ | |__| || |_) | _| |_ | |____ _| |_ | | | | ║ |_| \\_||_____| \\____/ |____/ |_____||______||_____| |_| |_| ║ ║─────────────────────────────────────────────║ 解释:║ 牛逼;牛B║─────────────────────────────────────────────║ Try curl v2en.co/:help for more commands.╚═════════════════════════════════════════════


推荐阅读