Skip to main content
save 1 char
Source Link

Bash 99 8 chars (Thanks @FireFly)

rot13 <$0rot13<$0

This mathmatch requirement:

  • output same amount of character in the same shape as the code
  • rot13

Practical

echo  >autorot13.sh 'rot13 <$0' 
chmod  +x autorot13.sh 
./autorot13.sh 
ebg13 <$0ebg13<$0

Bash 9 chars

rot13 <$0

This math requirement:

  • output same amount of character in the same shape as the code
  • rot13

Practical

echo  >autorot13.sh 'rot13 <$0' 
chmod  +x autorot13.sh 
./autorot13.sh 
ebg13 <$0

Bash 9 8 chars (Thanks @FireFly)

rot13<$0

This match requirement:

  • output same amount of character in the same shape as the code
  • rot13

Practical

echo  >autorot13.sh 'rot13 <$0' 
chmod  +x autorot13.sh 
./autorot13.sh 
ebg13<$0
Source Link

Bash 9 chars

rot13 <$0

This math requirement:

  • output same amount of character in the same shape as the code
  • rot13

Practical

echo  >autorot13.sh 'rot13 <$0' 
chmod  +x autorot13.sh 
./autorot13.sh 
ebg13 <$0