From ab8fa1682f2d27f383faf872b4433f67707b433d Mon Sep 17 00:00:00 2001 From: Jason Stewart Date: Tue, 5 Apr 2022 04:01:36 -0400 Subject: [PATCH] - STDIN adjustment --- ansiart2utf8/ansiart2utf8.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansiart2utf8/ansiart2utf8.go b/ansiart2utf8/ansiart2utf8.go index 909b8b9..4df450e 100644 --- a/ansiart2utf8/ansiart2utf8.go +++ b/ansiart2utf8/ansiart2utf8.go @@ -99,7 +99,7 @@ OPTIONS for _, szFname := range arFiles { - if szFname == "-" { + if (szFname == "-") && (len(arFiles) == 1) { fnDebug("PROCESSING STDIN") oErr = UM.Encode(os.Stdin)