OnWorks favicon

tv_sortp - Online in the Cloud

Run tv_sortp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command tv_sortp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



tv_sort - Sort XMLTV listings files by date, and add stop times.


tv_sort [--help] [--by-channel] [--output FILE] [FILE...]


Read XMLTV data and write out the same data sorted in date order. Where stop times of
programmes are missing, guess them from the start time of the next programme on the same
channel. For the last programme of a channel, no stop time can be added.

Tv_sort also performs some sanity checks such as making sure no two programmes on the same
channel overlap.

--output FILE write to FILE rather than standard output

--by-channel sort first by channel id, then by date within each

--duplicate-error If the input contains the same programme more than once,
consider this as an error. Default is to silently
ignore duplicate entries.

The time sorting is by start time, then by stop time. Without --by-channel, if start
times and stop times are equal then two programmes are sorted by internal channel id.
With --by-channel, channel id is compared first and then times.

You can think of tv_sort as converting XMLTV data into a canonical form, useful for
diffing two files.


At a typical Unix shell or Windows command prompt:

tv_sort <in.xml >out.xml
tv_sort in.xml --output out.xml

These are different ways of saying the same thing.

Use tv_sortp online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Mit dem Programm kann man schnell und
    einfach Pausen bei Sportveranstaltungen
    mit Musik �berbr�cken. Hierf�r haben sie
    die M�glichkeit, folgende Wiedergabvaria...
    Download SportMusik
  • 2
    DavMail POP/IMAP/SMTP/Caldav to Exchange
    DavMail POP/IMAP/SMTP/Caldav to Exchange
    Ever wanted to get rid of Outlook ?
    DavMail is a
    gateway allowing users to use any mail
    client with Exchange and Office 365, e...
    Download DavMail POP/IMAP/SMTP/Caldav to Exchange
  • 3
    DivFix++ is yours AVI video repair and
    preview software. It designed for repair
    and preview files which are on download
    from ed2k(emule), torrent, gnutella, ftp...
    Download DivFix++
  • 4
    JBoss Community
    JBoss Community
    Community driven projects featuring the
    latest innovations for cutting edge
    apps. Our flagship project JBoss AS is
    the leading Open Source,
    Download JBoss Community
  • 5
    Mindustry is a tower-defense sandbox
    factory game. Build supply chains of
    conveyor belts to fuel your turrets,
    produce materials for building, and
    defend your ...
    Download Mindustry
  • 6
    Django Filer
    Django Filer
    django Filer is a file management
    application for django that makes
    handling files and images a breeze.
    django-filer is a file management
    application for djang...
    Download Django Filer
  • 7
    Extreme Cluster Administration Toolkit.
    xCAT is a scalable cluster management
    and provisioning tool that provides
    hardware control, discovery, and OS
    Download xCAT
  • More »

Linux commands