On Fri, Sep 22, 2017 at 10:33:00AM -0500, John McKown wrote:
> ​I will agree that your method is superior. However, mine does work. At
> least on my Linux system (Fedora 25)
>
> $ IFS="" lista=$(cat list)
> $ echo $lista
> hello
> world
Wronger and wronger.
wooledg:~$ printf '*\n' > list
wooledg:~$ IFS="" lista=$(cat list)
wooledg:~$ echo $lista
[ { 0.1 0400_0001.pdf 1 11412687.html 11412687.pdf 11412859.html 11412859.pdf
11412879.html 11412879-mod.html 11412879-mod.pdf 11412879.pdf 11412939.html
11412939.pdf 11421107.html 11421107.pdf 11423576.pdf 12.bash 1429_001.pdf .....
http://mywiki.wooledge.org/Quoteshttp://mywiki.wooledge.org/BashPitfalls#pf14
Looks like I have a few junk files I can rm.