 |
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 |
 |