In message <1074495226.865.117.camel at vaio> on Mon, Jan 19, 2004 at 02:53:46PM +0800, Ryan wrote: > btw: that stuff is explained in the man bash page under: Parameter > Expansion This one looks promising: ${parameter:offset:length}