Timeline for What's the difference between $(stuff) and `stuff`?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 2, 2016 at 9:45 | comment | added | Stéphane Chazelas | @Wildcard, I suppose it's because $() makes your script one byte bigger than if it used ` (assuming you don't nest them and don't use backslashes within). As to which would be faster to parse, that would vary between shells and would be irrelevant as negligible compared to the cost of creating a pipe and forking of process which command substitution entails. | |
| Mar 7, 2016 at 23:21 | comment | added | Wildcard | I would tend to agree with @schily...why would it take more resources? | |
| Sep 6, 2015 at 15:19 | comment | added | cuonglm | @schily: Maybe, I only quote from the book, you can read it for more details. | |
| Sep 6, 2015 at 13:17 | comment | added | schily | This claim is nonsense. There is no reason why it should be faster as it is just using a different notation for the parser. | |
| Jun 9, 2013 at 9:25 | history | edited | tshepang | CC BY-SA 3.0 | I dont know what was meant by 'real time' |
| Jun 7, 2013 at 19:43 | history | answered | cuonglm | CC BY-SA 3.0 |