Korn shell help

From: <dthun_at_dwp.ci.la.ca.us>
Date: Wed, 03 Jun 1998 09:29:17 -0700

Hello All

I'm trying to compare a string to which has the contents of a full path: ie
ie. current_tree which would have something like
/usr/users/mktowns/script/
and match it with /usr/users/mktowns.

something like

 if [ "/usr/users/mktowns/" = $current_tree ] then

just not sure how to code it. Do I need to use the awk with match or can
corn shell do this??
samples would really be appreciated.

Thank You
Dennis Thun
Received on Wed Jun 03 1998 - 18:31:08 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT