On Sun, 4 Jul 2004 17:51:22 -0500 Jon Drews <[EMAIL PROTECTED]> wrote:
> Hi: > > Sed is useful for this. Here are some good tutorials on it: > > Common threads: Sed by example: > http://www-106.ibm.com/developerworks/linux/library/l-sed1.html > http://www-106.ibm.com/developerworks/linux/library/l-sed2.html > http://www-106.ibm.com/developerworks/linux/library/l-sed3.html Cool, thanks... I working on something with a fix using head, grep, and cut :) Basically grep -n for #include or whatehet, pipe it into head -n 1 it, and then head -n (pervious number cut and minus one> the file, then >> the include into it, and the this is where I am stuck... I can't find a way to cat everything after a certian line number out :/ _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"