Path: utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!uflorida!mailrus!tut.cis.ohio-state.edu!ucbvax!brillig.umd.edu!don From: don@brillig.umd.edu (Don Hopkins) Newsgroups: comp.windows.news Subject: simple trick for finding unbalanced parens Message-ID: <8903090625.AA10520@brillig.umd.edu> Date: 9 Mar 89 11:56:12 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 11 Every once in a while I'll accidentally munge a PS file that I'm editing, and delete a closing brace or paren or something. The symptom is that I psh a file, NeWS crunches on it, and then nothing happens. Inserting the following two lines into the beginning of the file helps to find out where it is the scanner's getting bonked out: /old-def /def load def /def { 1 index = flush old-def } def -Don