Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-188

ExportManager does not replace all variables in a line

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.46
    • 0.45
    • main
    • None
    • Hide
      export A=123;
      echo $A
      123
      
      echo $A $A
      $A 123
      

      The output should be: 123 123

      Show
      export A=123; echo $A 123 echo $A $A $A 123 The output should be: 123 123

      If I do export A=123, then echo $A, it prints 123. If I do echo $A $A, it prints $A 123

              spederse@redhat.com Stale Pedersen
              rhn-support-ggastald George Gastaldi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: