A question to those DX who are proficiency in UNIX scripts

goto (goto)
Write a script to use the rot13 (rotate 13) algorithm to encrypt/decrypt a file. rot13 adds 13 to the letters (with wrap-around). So A-M convert to N-Z and N-Z convert to A-M. "Bat" would convert to "Nmg". The first parameter should be a file to convert if present. If not present convert stdin. The second parameter should be an output file name if present. If not the output should go to stdout.
(#348554@0)
2002-1-26 -05:00

回到话题: A question to those DX who are proficiency in UNIX scripts

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=348554