What is the difference:
d=$(date +%Y%m%d) f=$(ls -l /nmt/user/out/csv1$d.csv_*_response) echo $f If you execute commands from the terminal, then everything works; if you execute from a script, then
displays /mnt/user/out/csv120160326.csv_*_response , i.e. * taken as it is.
How to fix?
zsh, I have at least. Therefore, I do not want to move frombashtozsh:) - approximatenumber