Hi, how can I associate to a var a path with both env variable and text? something like this for example: let trial=$HOME/dir1/dir2/$env1/dir3 I saw that let trial=$HOME works when I echo it, but if I add $HOME/dir1 it doesn’t anymore…any help? Thanks
You must log in or # to comment.
you can use a dot to concatenate strings :
let trial = $HOME . '/dir1/dir2/dir3'
it works!!!..many thanks!!!