Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 1999 09:47:38 +0100
From:      Dan Larsson <dl@tyfon.net>
To:        "[FreeBSD-Questions-List] (E-post)" <freebsd-questions@freebsd.org>
Subject:   howto tokenize string in sh
Message-ID:  <01BF4873.C18DD540.dl@tyfon.net>

next in thread | raw e-mail | index | archive | help
Having a string containing a path, what I need to do with it is to 
determine if it is relative to current or not. 
For this I imagine that splitting the path with the slashes as delimiters
to examine the tokens in between for a token containing two dots (..) is
one way of doing it.  

How do I do this in sh?

Regards
------------
Dan Larsson




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01BF4873.C18DD540.dl>