The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-18-2008
ole111 ole111 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1
bash script to check the first character in string

Hello
would appreciate if somebody can post a bash script that checks if the first character of the given string is equal to, say, "a"

thnx in advance