| Summary: | Ash behavior still not correct with $(</tmp/file) | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Lauri Kasanen <curaga> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Lauri Kasanen
2010-02-21 09:32:20 UTC
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. |