[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] (no subject)
From: |
Greg Wooledge |
Subject: |
Re: [Help-bash] (no subject) |
Date: |
Fri, 22 Sep 2017 11:40:57 -0400 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
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/Quotes
http://mywiki.wooledge.org/BashPitfalls#pf14
Looks like I have a few junk files I can rm.
- [Help-bash] (no subject), Lakshman Siddardha, 2017/09/22
- Re: [Help-bash] (no subject), John McKown, 2017/09/22
- Re: [Help-bash] (no subject), Greg Wooledge, 2017/09/22
- Re: [Help-bash] (no subject), John McKown, 2017/09/22
- Re: [Help-bash] (no subject), Chet Ramey, 2017/09/22
- Re: [Help-bash] (no subject), John McKown, 2017/09/22
- Re: [Help-bash] (no subject), Chet Ramey, 2017/09/22
- Re: [Help-bash] (no subject), John McKown, 2017/09/22
- Re: [Help-bash] (no subject), Greg Wooledge, 2017/09/22
- Re: [Help-bash] (no subject), DJ Mills, 2017/09/22
- Re: [Help-bash] (no subject),
Greg Wooledge <=
- Re: [Help-bash] (no subject), John McKown, 2017/09/22