From: Marcel Koeppen Date: Thu, 15 May 2008 11:06:07 GMT Subject: Re: [PATCH] Fix sed syntax in t7502-commit for OSX Message-ID: <22590A7D-0409-4940-BC2E-776B2189BFEC@marzelpan.de> In-Reply-To: <200805151058.34774.hs4233@mail.mn-solutions.de> Am 15.05.2008 um 10:58 schrieb Holger Schurig: >>> -sed -i '$d' expect >>> +sed -i -e '$d' expect > > perl -pi -e 's/foo/bar/' ??? This does not work with '$d', so we could use sed with a temp instead of the -i extension. Alternatively we could specify the full test fixture instead of editing an old one. This would make the expected results more obvious and the tests would work without assumptions about running order. Marcel