I'm running the following command in bash:
yarn config get workspaces-experimental
Which returns the following:
That is, "true" or "false" followed by two end lines. I want to take this process, verify its standard output and pipe it into another process that returns an exit code when the result is not "true".
How can I do this? Use the vertical bar (|)?