On Wed, Jul 09, 2003 at 04:41:41PM -0400, R P Herrold alleged: > On Wed, 9 Jul 2003, Matthias Saou wrote: > > > R P Herrold wrote : > > > > > real stats on file name length > > > Seems a bit overkill to me :-) > > Same thing quickly done in shell : > > (grin) -- I _knew_ there was a subshell way, but I was looking > for a strlen-ish primative in /bin/sh -- I blame it on the > late hour. You can mean ${#var}? $ foo=barbaz $ echo ${#foo} 6