[Bug 183256] Add requires and provides filtering to the Perl template

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 28 08:00:21 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Add requires and provides filtering to the Perl template


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=183256





------- Additional Comments From rc040203 at freenet.de  2006-02-28 03:00 EST -------
(In reply to comment #2)
> You illustrate precisely why this needs to be standardized.  Much of it is
> lifted directly from the examples I found in Core and Extras CVS, although I
> admit to flubbing the \EOF thing.
POSIX. All POSIX shells support it and it's widestly used (eg. autoconf
generated configure scripts internally use it) ...

>  Every example I found in what I currently had
> checked out of CVS (perl, subversion, rt3) uses sed.
POSIX. 

sed is required to be available by POSIX, so it's safe to use it and very portable.

Using perl (or awk or ...) instead of sed for string substitutions are options,
but making it mandatory is nothing but overengineering and basically sense-free.

Choose the tool you're familiar with, for most perl packagers this will be perl,
but I prefer to use sed ;)
 

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list