Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 1998 01:38:21 +0930
From:      Matthew Thyer <thyerm@camtech.net.au>
To:        Wolfram Schneider <wosch@panke.de.freebsd.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: file segment sizes of a core dump
Message-ID:  <35E18FF5.B7FADA7B@camtech.net.au>
References:  <199808231906.VAA04727@campa.panke.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Why require an option ?

Why not make size do what you want automatically when it detects
that you are running it on a core file ?

Possibly an informational message should be printed to stderr
something like "sh.core is a core file"

Wolfram Schneider wrote:
> 
> I added an option to size(1) which print the
> file segment sizes of a core dump.
> 
> For example:
> 
> $ ./size /bin/sh
> text    data    bss     dec     hex
> 294912  12288   35656   342856  53b48
> 
> $ ./size -c sh.core
> text    data    bss     dec     hex
> 294912  69632   131072  495616  79000
> 
> If nobody objects I will commit the change.

[snip]

> --
> Wolfram Schneider <wosch@freebsd.org> http://www.freebsd.org/~w/
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message

-- 
/=====================================================================\
|Work: Matthew.Thyer@dsto.defence.gov.au | Home: thyerm@camtech.net.au|
\=====================================================================/
"If it is true that our Universe has a zero net value for all conserved
quantities, then it may simply be a fluctuation of the vacuum of some
larger space in which our Universe is imbedded. In answer to the
question of why it happened, I offer the modest proposal that our
Universe is simply one of those things which happen from time to time."
 E. P. Tryon   from "Nature" Vol.246 Dec.14, 1973

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35E18FF5.B7FADA7B>