經安全檢測,此網站為安全網站,請放心前往原始網址!

UNIX/Linux Bash Shell Scripting: Shell Script to Check Whether a String is Palindrome or not

#!/bin/bash # SCRIPT: palindrome2.sh # USAGE: palindrome.sh or palindrome.sh STRING # PURPOSE: Script to test if a given string is a palindrome. # # In this script I uses the well known method, compare first character # with last character, up to middle o

www.bashguru.com

網址安全性掃描由 google 提供