Path: csiph.com!goblin2!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.074 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'diff': 0.05; 'list?': 0.07; 'python': 0.10; 'output': 0.13; 'cheers,': 0.22; 'file.': 0.22; 'header:User-Agent:1': 0.26; 'command': 0.26; 'run': 0.33; 'options': 0.33; 'could': 0.35; 'lines': 0.36; 'to:addr:python- list': 0.36; 'there,': 0.37; 'things': 0.38; 'difference': 0.38; 'subject:the': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'provide': 0.61; 'between': 0.65; 'received:38': 0.81; 'researching': 0.84 To: python-list@python.org From: Noah Subject: finding the diff Date: Thu, 10 Sep 2015 17:41:50 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1441932115 news.xs4all.nl 23823 [2001:888:2000:d::a6]:50942 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96309 Hi there, I am researching a nice slick way to provide the difference between generated python multi-line configuration output and specific configuration lines gathered from an output file. I could put things in a list? I could put both forms output into IOString() and run a diff command to it? What are some options that work well? Cheers, Noah