Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
On 9/22/17 11:33 AM, 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
This leaves IFS set to the empty string, which might lead to unexpected
results for subsequent commands.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/