epg -S 4165 search '' > 4165.txt
epg -S 17540 search '' > 17540.txt
 
diff 4165.txt 17540.txt > BBC1-diff.txt
 
Same example
----------------------------------------------------------
-                    Service ID: 17540
+                    Service ID: 4165
                      Event ID: 53320
                    start_date: 0xdc39 13:00:00 (Tue Mar 26 13:00:00 2013)
                      duration: 0:30:00
                      encrypted: 0
                          Name: BBC News at One
-                          Text: The latest national and international news stories from the BBC News team, followed by weather. [HD] [S]
+                          Text: The latest national and international news stories from the BBC News team, followed by weather. Also in HD. [S]
                  Content Type: News/Current affairs (2)
                    Event CRID: /5A7753
-                  Series CRID: /KR1TJD
+                  Series CRID: /KCI4LM
----------------------------------------------------------
 
Different example
-----------------------------------------------------------
-                    Service ID: 17540
-                      Event ID: 51842
+                    Service ID: 4165
+                      Event ID: 53922
                    start_date: 0xdc39 13:30:00 (Tue Mar 26 13:30:00 2013)
                      duration: 0:15:00
                      encrypted: 0
-                          Name: This Is BBC One HD
-                          Text: Please switch over to BBC One for the latest news from your area. Programming will resume on BBC One HD after the
+                          Name: Midlands Today
+                          Text: The latest news, sport and weather for the Midlands. [S]
                  Content Type: News/Current affairs (2)
+                  Series CRID: /KCJQO1
----------------------------------------------------------