Improve command substitution #7

Merged
gbmor merged 2 commits from rjc/wiki:command_substitution into trunk 2023-09-05 14:50:18 +00:00

2 Commits

Author SHA1 Message Date
Raf Czlonka 4e2c82f4fb Improve command substitution
- .kshrc file isn't special - $ENV can point to any file
- use $MAIL since is available by default
- replace backticks ('`') with '$()' - they both nest and look better
- be consistent about using `[` or `test` - chose the latter here
- use `-n` for the second test case in order to keep the examples'
  logic the same:

	[...] && echo '* '
2023-07-11 16:13:32 +01:00
Raf Czlonka 0a2509e3e0 Fix test case 2023-07-11 16:03:17 +01:00