Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2007 03:43:24 -0000 (GMT)
From:      jhall@vandaliamo.net
To:        freebsd-questions@freebsd.org
Subject:   bash and strings
Message-ID:  <52275.12.170.206.13.1195184604.squirrel@admintool.trueband.net>

next in thread | raw e-mail | index | archive | help
Everyone,

I'm sure this is easy, and I am making it harder than it is.

I am being supplied a list of files, and need to create the files and
directories to hold them, but I cannot figure out how to take the string
apart.

For example, I am given

/usr/local/scripts/firewall.sh

I need to create the /usr/local/scripts directory and then create
firewall.sh.

Any suggestions would be greatly appreciated.

Thanks,


Jay




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52275.12.170.206.13.1195184604.squirrel>