python epgdump.py USAGE: epgdump_py -c CHANNEL_ID -i INPUT_FILE -o OUTPUT_FILE -h, --help print help message -c, --channel-id specify channel identifier -f, --format format xml -i, --input specify ts file -o, --output specify xml file --formatオプションを使用するよりも、xmlstarletコマンドを使用し た方がよい。 xmlstarlet format XML_FILE 番組検索用シェルスクリプト function select_time() { xmlstarlet sel --encode utf-8 -t -m '//programme' -