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

2017-11-17 Thread Chris F.A. Johnson
On Sat, 18 Nov 2017, PePa wrote: On 11/15/2017 11:06 PM, Greg Wooledge wrote: On Wed, Nov 15, 2017 at 09:01:52AM -0600, Rick Richardson wrote: tab=$'\t' echo "$tab " | xod Where can I get xod? I don't know about xod, but od is a standard utility, and hd is also commonly installed. -- Chris

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

2017-11-17 Thread PePa
On 11/15/2017 11:06 PM, Greg Wooledge wrote: On Wed, Nov 15, 2017 at 09:01:52AM -0600, Rick Richardson wrote: tab=$'\t' echo "$tab " | xod Where can I get xod? I tried looking here https://github.com/xodio/xod and I found a perl script that couldn't be piped into. Peter

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

2017-11-17 Thread Greg Wooledge
On Wed, Nov 15, 2017 at 09:01:52AM -0600, 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 > > : 24 27 5c 74 27 20 0a | $'\t' . > | > > A Bash b