bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $"\t': Bash bug or not?


From: Chet Ramey
Subject: Re: $"\t': Bash bug or not?
Date: Wed, 15 Nov 2017 11:09:40 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 11/15/17 10:01 AM, Rick Richardson wrote:

> $ echo "$'\t' " | xod
> 
> Dump: standard input
> 
> Offset:    0  1  2  3  4  5  6  7   8  9  a  b  c  d  e  f   0123456789abcdef
> 
> 00000000: 24 27 5c 74 27 20 0a                             | $'\t' .          
> |
> 
> A Bash bug???

Where's the bug? Since single quotes aren't special within double quotes,
what behavior do you expect?


-- 
``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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]