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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24456.60388.135834.43951>
