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)