Portupgrade - Piping Output to file

Anthony Chavez acc at anthonychavez.org
Fri Mar 12 13:17:16 PST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 12 Mar 2004 13:32:17 +1100 Ron Joordens <ron.joordens at indec.com.au> wrote:
> How do I direct my output to a file so I can review it to find the reason or
> at least post it to this forum? I want the output dumped to a file and
> display on the monitor at the same time. Last time I tried using > the
> monitor was blank but there was nothing in the file.

script and tee work, but you might consider the -l and -L options to
portupgrade.  You can also make those options permanent in
/usr/local/etc/pkgtools.conf.

HTH!

- -- 
Anthony Chavez                             http://www.anthonychavez.org/
mailto:acc at anthonychavez.org                jabber:acc at anthonychavez.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFAUijXbZTbIaRBRXERAp2FAJ9CYyyyR4sAGxIVC9piG00qXtxCWwCdE0nf
BCmJ5Vxj6kz+GfcdAVcXeR8=
=JtpH
-----END PGP SIGNATURE-----



More information about the freebsd-questions mailing list