結果 : write a shell program to reverse a string