I have a problem in bash.
PWD -W does exactly what I need. I am trying to pass into variable a result of executing it: var="$(PWD)" - this works but I need