Ref bug 1087 The segfault is gone in git master, but the behavior is not correct. cat /tmp/file test echo $(</tmp/file) ^ nothing, it should output the same. In bash it works, in bb until 1.14.4 it works.
I tend to classify $(</tmp/file) special case as a bashism. I don't see it working in ash in 1.14.4. I also tried 1.10.4, 1.13.4, 1.14.3 and 1.15.0 and they all show this behavior: # ./busybox ash # echo $(</tmp/file) # Which .config file do you use to make 1.14.4 work?
I'm sorry, my example was not the type I intended. echo $(</tmp/file) does indeed not work in busybox while it works in bash. The correct use case was [ -e "/tmp/$(</tmp/filename)" ], which works in git master. Thanks for your time.