sh scripting question

Manish Jain bourne.identity at hotmail.com
Fri Oct 16 01:06:19 UTC 2020


Hi Robert,

Try :

for FILE in "`cat files.list`"


Good luck,

Manish Jain



On 2020-10-16 06:10, Robert Huff wrote:
> 
> 	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
> 
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 


More information about the freebsd-questions mailing list