Strlen in csh shell

BALESTRIERI UGO Ugo.Balestrieri at alcatel-lucent.it
Tue Mar 10 11:54:26 EST 2009


Hi

I don't know how to use strlen into csh script

#!/bin/csh

@ len = strlen(trm_ip)

It seems not ok
My object is cut the first and the last character but each time the
string could be different



Your help is appreciated. Any hints, ideas, pointers are welcome.
Thanks -
UB


More information about the sunmanagers mailing list