wait a second... I don't need a carriage return but rather cntrl-c. would typing '^C' have the desired effect? Then the script would look like:
cat > <file> tar -xvf <file2> cd linux-3.2.6 make mrproper make headers_check make INSTALL_HDR_PATH=dest headers_install find dest/include \( -name .install -o -name ..install.cmd \) -delete cp -rv dest/include/* /usr/include ^C . <file> 2>1|tee <file3> But I still need the carriage return symbol so I can enter the script and then: cat <file3>| grep .... uhhhhh..... what text appears in errors in this case? :-)~MIKE~(-: On Wed, Aug 29, 2012 at 9:31 PM, Michael Havens <bmi...@gmail.com> wrote: > okay, this is what I got: > > cat > <file> > tar -xvf <file2> > cd linux-3.2.6 > make mrproper > make headers_check > make INSTALL_HDR_PATH=dest headers_install > find dest/include \( -name .install -o -name ..install.cmd \) -delete > cp -rv dest/include/* /usr/include > > then I hit return and after type: > > . <file> 2>1|tee <file3> > > and then hit return again. > So what this does is creates a text file and this example is a kernel > builder, So I'm going to change it for each package I need to build for > LinuxfromScratch. So I want to be able to just type everything and run it > all with: > > . <file> 2>1|tee <file> > > so I can find errors before I move on to the next tar file w/o hiting > return before the 'tee' command. So what text do I put to indicate a > carriage return? > :-)~MIKE~(-: >
--------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss