-
| I have no idea if POSIX says anything about this, but I notice a discrepancy between yash and other shells: bash(similarly for  yashI noticed this when adding things to the path. If  Is yash doing the right thing? Can it be made to behave like other shells? Thanks. | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            magicant
          
      
      
        Dec 7, 2023 
      
    
    Replies: 1 comment 1 reply
-
| The current POSIX does not require the bash behavior, but it will in the future. This feature is tracked in #20. For now, you can use a separate assignment to make  A=~
export A
echo $A | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        vext01
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
The current POSIX does not require the bash behavior, but it will in the future. This feature is tracked in #20.
For now, you can use a separate assignment to make
~expand: