I cannot for the life of me remember how to echo output from commands in a shellscript to stdout or capture output to a logfile
can someone point me in the right direction please?
fragment example (there's maybe 50 lines of this sort of stuff) :
Code: Select all
gunzip -c libpng-*.tar.gz |tar xf -
rm libpng-*.tar.gz
mv libpng-* libpng
cd libpng
make -f scripts/makefile.std CC=gcc ZLIBLIB=../zlib ZLIBINC=../zlib
rm *.so.* *.so
cd ..