Guido van Rossum
								
							 
						 | 
						
							
							
							
							
								
							
							
								bd3bdde70b
								
							
						 | 
						
							
							
								
								For reasons I dare not explain, this script should always execute
							
							
							
							
							
							
							
							main() when imported (in other words, it is not usable as a module). 
							
						 | 
						
							1999-04-02 22:18:25 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Fred Drake
								
							 
						 | 
						
							
							
							
							
								
							
							
								b091134e70
								
							
						 | 
						
							
							
								
								During display, if EPIPE is raised, it's probably because a pager was
							
							
							
							
							
							
							
							killed.  Discard the error in that case, but propogate it otherwise. 
							
						 | 
						
							1999-03-26 22:36:00 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Guido van Rossum
								
							 
						 | 
						
							
							
							
							
								
							
							
								b3bf2cd64b
								
							
						 | 
						
							
							
								
								# The variable total is never used somehow.  I think I had plans for
							
							
							
							
							
							
							
							# it but can't remember what.  Get rid of a comparison that breaks. 
							
						 | 
						
							1998-07-02 22:17:28 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Guido van Rossum
								
							 
						 | 
						
							
							
							
							
								
							
							
								f06ee5fa07
								
							
						 | 
						
							
							
								
								/usr/local/bin/python -> /usr/bin/env python
							
							
							
							
							
						 | 
						
							1996-11-27 19:52:01 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Guido van Rossum
								
							 
						 | 
						
							
							
							
							
								
							
							
								41ffccbba7
								
							
						 | 
						
							
							
								
								*** empty log message ***
							
							
							
							
							
						 | 
						
							1993-04-01 20:50:35 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Guido van Rossum
								
							 
						 | 
						
							
							
							
							
								
							
							
								61700bb985
								
							
						 | 
						
							
							
								
								cope with filenames containing spaces
							
							
							
							
							
						 | 
						
							1992-08-31 10:54:54 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Guido van Rossum
								
							 
						 | 
						
							
							
							
							
								
							
							
								4a5ab81bc9
								
							
						 | 
						
							
							
								
								posix -> os
							
							
							
							
							
						 | 
						
							1992-03-30 11:31:39 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Guido van Rossum
								
							 
						 | 
						
							
							
							
							
								
							
							
								2ba9f30489
								
							
						 | 
						
							
							
								
								Initial revision
							
							
							
							
							
						 | 
						
							1992-03-02 16:20:32 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 |