+ if (infile is sys.stdin) and sys.stdin.isatty():
+ if (outfile is sys.stdout) and sys.stdout.isatty():
+ usage()
+ usage(1, 'Filtering from console is forbidden')
+
+ if not gopts.host_name:
+ import socket
+ gopts.host_name = socket.gethostname()
+