Updated SC2094 (markdown)

koalaman
2018-01-31 10:39:23 -08:00
parent d7a155e77d
commit af96d16382

@@ -26,3 +26,8 @@ You can ignore this error if:
* The file is a device or named pipe. These files don't truncate in the same way. * The file is a device or named pipe. These files don't truncate in the same way.
* The command mentions the filename but doesn't read/write it, such as `echo log.txt > log.txt`. * The command mentions the filename but doesn't read/write it, such as `echo log.txt > log.txt`.
### Additional Resources
* [StackOverflow: bash redirect input from file back into same file](https://stackoverflow.com/questions/6696842/bash-redirect-input-from-file-back-into-same-file)
* [BashPitfalls: `cat file | sed s/foo/bar/ > file`](https://mywiki.wooledge.org/BashPitfalls#pf13)