Subject: Re: Bourne shell script help To: Matt Thomas <matt@3am-software.com> From: Andy Ruhl <acruhl@gmail.com> List: netbsd-users Date: 07/25/2006 12:39:22
On 7/25/06, Matt Thomas <matt@3am-software.com> wrote:
> firstchar=`echo "$string" | cut -c 1`
> secondchar=`echo "$string" | cut -c 2`
Damn, I didn't read the cut man page well enough I guess...
Thanks!
Andy