Example: set -l var (cat)
Expected: $var contains value of user input.
Actual: $var contains an empty string, and if you run jobs, a stopped but not reaped cat process lingers unless you run kill -9 on it.
I understand that in this case, I could use read, but this error would still be a thing.
Example:
set -l var (cat)Expected:
$varcontains value of user input.Actual:
$varcontains an empty string, and if you runjobs, a stopped but not reapedcatprocess lingers unless you runkill -9on it.I understand that in this case, I could use
read, but this error would still be a thing.