From 53e11a80439b692e20bcb758f5977c8dae5d69e1 Mon Sep 17 00:00:00 2001 From: ayekat Date: Mon, 5 Jan 2015 19:09:10 +0100 Subject: [PATCH] [dc] Fix stack behaviour It's better to pop the value from the stack upon printing it. As dc does not provide any command to achieve that together with printing a newline after the value, we store the newline together with the value. --- d/dc.dc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/d/dc.dc b/d/dc.dc index 50392e84..62b3100c 100644 --- a/d/dc.dc +++ b/d/dc.dc @@ -1 +1,2 @@ -[Hello World]p +[Hello World +]n