From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,dcc787a7dc2bc291 X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,dcc787a7dc2bc291 X-Google-Attributes: gidfee84,public From: martin@RADIOGAGA.HARZ.DE (Martin Vorlaender) Subject: Re: PGP 5.0i compile problem - LOCATED Date: 1999/01/21 Message-ID: <36a79399.524144494f47414741@radiogaga.harz.de>#1/1 X-Deja-AN: 435387859 Distribution: world X-Posting-Software: UUPC/extended 1.12j inews (25May94 07:51) References: <36A4749D.37F4F8D4@ev.co.yu> <783k9b$d73$1@news.latrobe.edu.au> <784l4f$i2r$1@news.uk0.vbc.net> Followup-To: comp.unix.osf.osf1,comp.unix.osf.misc Organization: home Reply-To: MARTIN@RADIOGAGA.HARZ.DE Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc Ray Bellis (Ray.Bellis@community.net.uk) wrote: : >I've seen similar problems in other freeware source code and have used : >the following perl script to fix it. : [script deleted] : >(perl isn't my strongest language so it's probably a pretty average script. : >Looking back at it, I'm not even sure how it works!) : : Here's the quick and dirty way [see perlfaq5(1)]. : : perl -pi -e 's/^\s+#/#/' *.c Or, if you want to keep the indentation: perl -pi -e 's/^(\s+)#/#$1/' *.c cu, Martin -- | Martin Vorlaender | VMS & WNT programmer VMS is today what | work: mv@pdv-systeme.de Microsoft wants | http://www.pdv-systeme.de/users/martinv/ Windows NT 8.0 to be! | home: martin@radiogaga.harz.de