bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sieve (was: Re: Mailutils new competitor)


From: Alain Magloire
Subject: Re: Sieve (was: Re: Mailutils new competitor)
Date: Fri, 2 Mar 2001 00:35:12 -0500 (EST)

> 
> Quoting Alain Magloire <address@hidden>, who wrote:
> > > Also, for a specific project, a perl script to rip documentation out
> > > of the headers and into texinfo isn't out of the question.
> > 
> > Perl ... never.
> 
> Shouldn't be so hard on it, try this at the root of mailutils:
> 
> $ find . -name ' *.h' | xargs perl -i -p -e's/ _cplusplus/ __cplusplus/;'
> 
> ;-)

8-) touche'!!

for i in `grep -w -l -r --include=*.h _cplusplus .`
do
        sed 's:_cplusplus:__cplusplus:g' $i > /tmp/mu_$$
        cp /tmp/mu_$$ $i
done

the grep line is with my repository version of GNU grep, but could
have been a combination of find/grep.

Thanks, I'll make the correction tomorrow.

-- 
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]