Hello Michael, Glad to be of service!
>I am confused ;< > >[1] Shouldn't your sed process: > > sed -e "/^etc/d" -e "/^[/]etc/d" -e "/^[.][/]etc/d" \ > ${pkg} > ${pkg}.light > >actually be this? > > sed -n "/^[./]*etc/p" ${pkg} > ${pkg}.light > I am only concerned with deleting lines that start with etc..., /etc..., and ./etc... (Note that this will match a directory like /etcold but I don't care). So the first attempt is to produce a new file list that does not have any of those lines. >[2] How do you account for ${pkg}.exclude.list? > ${pkg}.exclude.list is a proper substring of ${pkg}.list and therefore gets included in the for loop. >[3] How do you account for CONF files that do not reside under /etc? > This particular code snippet treated /etc one way and /var a completely different way. I could integrate both by producing a different exclusion list for the default store. I'll think about it. >[4] Where do you get `cmp'? > cmp is a busybox applet. If don't have Andersen kit at hand, there is a rather plump busybox on the discussion.img disk that I referred to earlier this week. O'Reilly "Linux in a nutshell" has proper documentation for it. Regards, Serge Caron _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel