On May 24, 2014, at 12:50 AM, Pierre Labastie wrote:
This comes from when I put "package management" into jhalfs. I
needed a way to
insert the building of the package manager at some places in chapter
5 and 6
(I did that only for LFS). So, If I needed to put for example, dpkg,
before
say 089-stripping, I named the script 089-1-dpkg. Of course, I
needed to strip
the extra "1-" to get the package name, hence the sed.
Ah yes now I remember.
I used to insert packages and include a -0 to -9 i.e.
120-blah
120-1-blah2
120-2-blahblah
121-binutils
I've done away with using -0 -9 and I put my packages in order and use
a vim sed with a range and auto number them starting at 113 which is
our CLFS temp-perl in final-system.
Thanks for the reminder about the above reason.
I can always change the sed for my local jhalfs checkout for my needs.
But it is proper that after we strip ###- and then if #- is left,
that'd be at the beginning so a ^ would be best for the sed.
Sincerely,
William Harrington
--
http://lists.linuxfromscratch.org/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page