bug-bash
[Top][All Lists]
Advanced

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

$"\t': Bash bug or not?


From: Rick Richardson
Subject: $"\t': Bash bug or not?
Date: Wed, 15 Nov 2017 09:01:52 -0600

$ echo "$LOGNAME " | xod

Dump: standard input

Offset:    0  1  2  3  4  5  6  7   8  9  a  b  c  d  e  f   0123456789abcdef

00000000: 72 69 63 6b 20 0a                                | rick .           |

OK!

$ 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???

$ 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: 09 20 0a                                         | . .              |

OK if you *don't quote it*.



-- 
Rick Richardson rickrich@gmail.com http://rickrich1.home.comcast.net/
Linux printer drivers for JBIG (GDI printers): Konica Minolta magicolor,
                          HP LaserJet, Samsung, Xerox, Lexmark, and Oki.
                                             http://foo2zjs.rkkda.com/
Linux tools for geocaching   http://geo.rkkda.com/
Gnome Manual Duplex         http://sourceforge.net/projects/g-manual-duplex/



reply via email to

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