×

Loading...

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 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: A question to those DX who are proficiency in UNIX scripts

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论