[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 12:12:36 -0400 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Fri, Sep 22, 2017 at 10:43:43AM -0500, John McKown wrote:
> $ echo -n $IFS|od -tcx1
> 0000000
This does not show the value of IFS correctly because, again, you have
failed to quote properly.
wooledg:~$ IFS=$' \t\n' # default value of IFS
wooledg:~$ echo -n $IFS | od -tcx1
0000000
wooledg:~$ printf %s "$IFS" | od -tcx1
0000000 \t \n
20 09 0a
0000003
http://mywiki.wooledge.org/Quotes
- [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 <=
- Re: [Help-bash] (no subject), DJ Mills, 2017/09/22
- Re: [Help-bash] (no subject), Greg Wooledge, 2017/09/22
- Re: [Help-bash] (no subject), John McKown, 2017/09/22