From e3fc756269a8ed644f5beda190f52bc6eb337499 Mon Sep 17 00:00:00 2001 From: koalaman Date: Thu, 20 Nov 2014 12:15:05 -0800 Subject: [PATCH] Updated SC2069 (markdown) --- SC2069.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SC2069.md b/SC2069.md index 125e33f..375f379 100644 --- a/SC2069.md +++ b/SC2069.md @@ -14,7 +14,9 @@ Redirections are handled in order. The problematic code means "Point stderr to where stdout is currently pointing (the terminal). Then point stdout to /dev/null". -The correct code means "Point stdout to /dev/null. Then point stderr to where stdout is currently pointing (/dev/null).". +The correct code means "Point stdout to /dev/null. Then point stderr to where stdout is currently pointing (/dev/null)". + +In other words, the problematic code hides stdout and shows stderr. The correct code hides both stderr and stdout, which is usually the intention. ### Contraindications