Command Substitution: $()
- When the parser encounters
$(...), it should execute the command inside the parentheses and substitute the output in place. - Example:
Should output the current date and timeecho $(date)
**Command Substitution: `$()`**
- When the parser encounters `$(...)`, it should execute the command inside the parentheses and substitute the output in place.
- Example:
```bash
echo $(date)
```
Should output the current date and time