datacamp-content / courses-introduction-to-shell

Introduction to Shell by Greg Wilson
Other
47 stars 47 forks source link

We can't test command lines that involve variable expansion #108

Closed gvwilson closed 6 years ago

gvwilson commented 6 years ago

An expression like ls $HOME can't be tested, because $HOME (and other shell variables) are expanded before we get the command line to inspect.

gvwilson commented 6 years ago

These can now be tested.