Re: mpage and pr combination script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's supposed to be the date and time of the last file modification which should be the date and time displayed with
 ls -l xxpkrqup.p.bak

You can check the last change to the inode for the file with
 ls -cl xxpkrqup.p.bak

And you can check the last time the file was accessed with
 ls -ul xxpkrqup.p.bak

    Alfred Hovdestad


Han Tin wrote:
Thanks. The date of the file I am printing is Sep 27 07:48 xxpkrqup.p.bak

Header is printing Sat 08 Oct 2005 11:25:52 PM EDT.

And it's not today's date either.

Where this date come from.


-----Original Message-----
From: Alfred Hovdestad [mailto:alfred.hovdestad@xxxxxxxx]
Sent: Monday, October 10, 2005 11:05 AM
To: General Red Hat Linux discussion list
Subject: Re: mpage and pr combination script


man mpage


-H Create header line for each logical page separated from page text by a horizontal line. Unless -h is given, the header con- sist of last file modification, filename and page number, all in bold and slightly larger font. This option only applies to non-
               postscript files.



Han Tin wrote:

To all,
I was wondering if someone has written a script that will print a file

using

combination of mpage and pr, which will print name of the file, date and page number of the file.
Thanks in advance.
Han





--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux