Getting at the first char of a string in Bourne shell

Ken Braithwaite ken at images1.Waterloo.NCR.COM
Fri Sep 28 07:09:01 AEST 1990


I am trying to peel off one at a time the letters from a variable
in the Bourne shell, ie from Bourne get B and ourne.
How can I do this?
Thanks in advance.

----------------------------------------------------------------------
Ken Braithwaite            | They couldn't hit an elephant at
                           |   this dist
These opinions are solely  |       last words, General Sedgwick
my own. I don't share.     | 
----------------------------------------------------------------------



More information about the Comp.unix.shell mailing list