>>>>> "Tom" == Tom Limoncelli <t...@whatexit.org> writes:
Tom> sed -ibak -e '/^# BEGIN project/,/^# END project/d' -e '$r Tom> rc-addition' /etc/rc.machine That must be a relatively modern or non-standard sed that understands -ibak, taken from Perl, no doubt. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion _______________________________________________ Discuss mailing list Discuss@lopsa.org http://lopsa.org/cgi-bin/mailman/listinfo/discuss This list provided by the League of Professional System Administrators http://lopsa.org/