From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078712011415.tru64-unix-managers.marc@archive.invalid> From: dthun () dwp ! ci ! la ! ca ! us Date: Wed, 03 Jun 1998 16:29:17 +0000 To: tru64-unix-managers Subject: Korn shell help X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078712011415 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