Howto escape # in a spec file

Jos Vos jos at xos.nl
Tue Jul 7 18:08:52 UTC 2009


On Tue, Jul 07, 2009 at 07:22:57PM +0200, stefan riemens wrote:

> I need to escape a # character in a spec file, but I can't seem to
> find how to do that (is it even possible?)
> 
> See also BZ #508847. There are a couple of .#pfd1.xml like files which
> need to be rm -f 'd...

On RHEL5 (rpm 4.4.2, if that matters) it all works for me with \#.
I don't see the problem.

Can you post an almost-empty mini spec file that demonstrates the problem?

-- 
--    Jos Vos <jos at xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204




More information about the devel mailing list