bracket doesn't work, maybe cause it's sh? but backticks work
not on this (below)
i though this is suppose to work? judging from http://cis.stvincent.edu/html/tutorials/unix/bshellref
i'm learning about sh from there
Per our forum rules, all users must write in English, use semi-formal or formal English language and style, and correct spelling errors.
The reason for this is that most software and operating systems are written in English and these are software related technical forums.
In addition, nearly 95% of all visitors to this site come here because they are referred by a search engine. In order for future searches on your post (with answers) to work well, you need to spell correctly!
So, as a benefit and courtesy to current and future knowledge seekers, please be careful with your language, check your spelling and correct your spelling errors. You might receive a forum infraction if you don't pay attention to this.
Also, do not write in cyberpunk or abbreviated chat style under any circumstances and do not use profanity. This is not a chat room, it is a formal knowledge base to serve you and everyone, of all ages and cultural backgrounds.
That is Bourne Shell, hardly any system uses that nowadays. On most systems /bin/sh stands for a POSIX shell, in which $( ) does work. A modern day exception is Solaris, where /bin/sh is in fact still a Bourne Shell, but it also has /usr/xpg4/bin/sh which is a POSIX compliant shell..