Networker

Re: [Networker] Getting leading zeros in date and time output from mminfo? - SOLVED, mostly

2010-09-16 14:33:57
Subject: Re: [Networker] Getting leading zeros in date and time output from mminfo? - SOLVED, mostly
From: Michael Leone <Michael.Leone AT PHA.PHILA DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 16 Sep 2010 14:32:58 -0400
> On Thu, Sep 16, 2010 at 02:16:35PM -0400, Michael Leone wrote:
> > Now, if I could get the ssid to do the same (right align), so that
> > 
> > 3410003144
> > 
> >    and 
> > 
> > 928778153
> > 
> > both take up the same amount of space ... it means the second value 
above 
> > needs to either show leading zeros (doubtful), or print right-aligned 
in 
> > the default narrow width for ssid (which appears to be 10).
> 
> Can you post-process?  I'd just run it through a perl script to change
> the alignment to what I want.

Oh, probably. But I was looking to make the columns align just using the 
mminfo command, from the command line, without having to post-process. I'm 
having to do a lot of scanning of old tapes, to re-integrate client file 
indexes, and got tired of not seeing a nice set of aligned columns, from a 
quick mminfo search. :-)

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER