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

Bug#546938: texlive-bin: depends on ed



Package: texlive-bin
Severity: wishlist

The source package depends on ed. Since ed (a priority=optional package)
is used just to make changes in text files, awk or sed (priority=required)
could be used removing a dependency.

For example, the updmap script (texlive-base-bin package) uses ed for the
configReplace function. The following sed call should do the same thing:
  sed -e '/pattern/c\substitution line\'
(it replaces every occurrance, not just the first, but I think it
shouldn't be too difficult to stop it at the first one. Also, perhaps the
entire function could be substituted with an awk call)

If ed is too much woven with the build process, could also be useful just
avoiding the dependency for binary packages.

thanks
Riccardo



Reply to: