From: martin@RADIOGAGA.HARZ.DE (Martin Vorlaender)
Subject: Re: PGP 5.0i compile problem - LOCATED
Date: 1999/01/21 [thread overview]
Message-ID: <36a79399.524144494f47414741@radiogaga.harz.de> (raw)
In-Reply-To: 784l4f$i2r$1@news.uk0.vbc.net
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
prev parent reply other threads:[~1999-01-21 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-19 5:00 PGP 5.0i compile problem - LOCATED Nikola Milutinovic
1999-01-20 5:00 ` Andrew Moar
1999-01-20 5:00 ` Ray Bellis
1999-01-20 5:00 ` John Parks
1999-01-21 5:00 ` Martin Vorlaender [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox