Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ncrlnk!ncrwat!images1!ken From: ken@images1.Waterloo.NCR.COM (Ken Braithwaite) Newsgroups: comp.unix.shell Subject: Getting at the first char of a string in Bourne shell Message-ID: <1308@ncrwat.Waterloo.NCR.COM> Date: 27 Sep 90 21:09:01 GMT Sender: news@ncrwat.Waterloo.NCR.COM Lines: 11 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. | ----------------------------------------------------------------------