The World of Numbers

  • + 1 comment

    Does anybody know why this version of code fails with error in this console...

    x=10
    y=11
    
    echo `expr "$x" "/" "$y"`
    expr "$x" "/" "$y"
    

    while this one works like a charm?

    x=10
    y=11
    
    expr "$x" "/" "$y"
    echo `expr "$x" "/" "$y"`