Improvements to install.sh ?

Jerry gesbbb at yahoo.com
Mon Sep 29 17:36:10 IST 2008


On Mon, 29 Sep 2008 09:41:35 -0400
Denis Beauchemin <Denis.Beauchemin at usherbrooke.ca> wrote:

> I don't know logsave, but all Linux distros I know come with
> "script". Before installing anything I do "script install.$(date
> +%Y%m%d)" to start a log file with the current date, then I run the
> install script and then I hit Ctrl-D (or type exit) to stop logging.
> I then peruse the output to make sure I didn't miss any error.

Why not just run it the way the 'man' page suggests. At least on
FreeBSD this is how I use it.

SYNOPSIS:
script [-akq] [-t time] [file [command ...]]

It will terminate when the script ends and will record the start and
stop time as well.

Just my 2¢.


-- 
Jerry
gesbbb at yahoo.com

QOTD:	"I used to go to UCLA, but then my Dad got a job."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080929/84b7fd68/signature.bin


More information about the MailScanner mailing list