Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2020 20:40:04 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        questions@freebsd.org
Subject:   sh scripting question
Message-ID:  <24456.60388.135834.43951@jerusalem.litteratus.org>

Next in thread | Raw E-Mail | Index | Archive | Help

	I have a file ("files.list") with a list of filenames, similar to

	/path A/path B/FreeBSD is great.txt

	(note the embedded spaces)
	If I use

	for FILE in `cat files.list`

	FILE will be set to "/path".
	How do I get it to read the entire string?
	Or am I using the wrong tool?
	

			Respectfully,


				Robert Huff






Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?24456.60388.135834.43951>