$ for f in `ls -d /home/*"`; do echo $f; done
ls: cannot access /home/*
: No such file or directory
it should show the same error as when using $():
$ for f in $(ls -d /home/*"); do echo $f; done
ksh: syntax error: `"' unmatched
I opened an upstream issue for it https://github.com/att/ast/issues/54
Moved this bug to upstream and closing it as wontfix in rhel 7.