×

Loading...

Let me try ... BTW, "Bat" should be "Ong" not "Nmg" :)

dennis2 (Dennis)
#!/bin/sh

if [ "X$1" = "X" ]
then
INPUT="-"
else INPUT=$1
fi

if [ "X$2" = "X" ]
then
OUTPUT=`tty`
else OUTPUT="$2"
fi

cat $INPUT | tr [a-mn-zA-MN-Z] [n-za-mN-ZA-m] > $OUTPUT
(#349294@0)
2002-1-27 -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技术讨论