Right now joe generates all output to stdout, even error reports. So, if you run it like this:
joe g osX >> .gitignore
You'll end up with invalid .gitignore file. The most common practice for this is to utilise stderr stream, so that the error isn't redirected to the file and is written to the terminal instead. And nothing gets written to the file.
Right now joe generates all output to stdout, even error reports. So, if you run it like this:
You'll end up with invalid .gitignore file. The most common practice for this is to utilise
stderr
stream, so that the error isn't redirected to the file and is written to the terminal instead. And nothing gets written to the file.