tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Korn shell help
@ 1998-06-03 16:29 dthun
  0 siblings, 0 replies; only message in thread
From: dthun @ 1998-06-03 16:29 UTC (permalink / raw)
  To: tru64-unix-managers


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-06-03 16:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-03 16:29 Korn shell help dthun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox