4 from getopt import getopt
7 python cat.py -o OUTFILE FILE1 FILE2 .... FILEn
10 cat FILE1 FILE2 ... .FILEn > OUTFILE
11 If the -o argument is not given, writes to stdout.
16 (options, args) = getopt(sys.argv[1:], "ho:")
17 for (opt, param) in options:
26 out = open(outfile, "w")