#541 Anything after backquotes in double quotes produces 0x1

MSYS
open
nobody
None
out-of-date
Unknown
2013-02-04
2004-03-29
No

When you have string like this "`non-msys_command with
params` $VAR", you will get a smiley face (ASCII 1) in
front of $VAR. Here's a minimal test case (run it in
Windows console, the smiley is not visible in rxvt):

echo "`gcc --version` $SOMETHING"

This is the output I get:

gcc.exe (GCC) 3.3.1 (mingw special 20030804-1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying
conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.
☺

MSys 1.0.10-rc5

Discussion

  • Luke Dunstan
    Luke Dunstan
    2006-01-02

    • summary: Env. variable after backquotes in double quotes produces 0x1 --> Anything after backquotes in double quotes produces 0x1
     
  • Luke Dunstan
    Luke Dunstan
    2006-01-02

    Logged In: YES
    user_id=30442

    This occurs with anything after the backquotes not just an
    environment variable, e.g.:

    echo "`gcc --version` foo" | od -c

     
  • Earnie Boyd
    Earnie Boyd
    2013-02-04

    • labels: MSYS -->
    • assigned_to: Earnie Boyd --> nobody
    • resolution: --> out-of-date
    • category: --> Unknown
    • milestone: --> MSYS