-->
Page 141
Time fields:
H | Hour (00..23) | |
I | Hour (01..12) | |
k | Hour (0..23) | |
l | Hour (1..12) | |
M | Minute (00..59) | |
p | Locale's a.m. or p.m. | |
r | Time, 12-hour (hh:mm:ss [AP]M) | |
u | Second (00..61) | |
T | Time, 24-hour (hh:mm:ss) | |
X | Locale's time representation (H:M:S) | |
Z |
Time zone (for example, EDT), or nothing if no time zone is determinable |
Date fields:
a | Locale's abbreviated weekday name (Sun..Sat) | |
A | Locale's full weekday name, variable length (Sunday..Saturday) | |
b | Locale's abbreviated month name (Jan..Dec) | |
B | Locale's full month name, variable length (January.. December) | |
c | Locale's date and time (Sat Nov 04 12:02:33 EST 1989) | |
d | Day of month (01..31) | |
D | Date (mm/dd/yy) | |
h | Same as b | |
j | Day of year (001..366) | |
m | Month (01..12) | |
U | Week number of year with Sunday as first day of week (00..53) | |
w | Day of week (0..6) | |
W | Week number of year with Monday as first day of week (00..53) | |
x | Locale's date representation (mm/dd/yy) | |
y | Last two digits of year (00..99) | |
Y | Year (1970...) |
%b | File's size in 512-byte blocks (rounded up). | |
%c | File's last status change time in the format returned by the C ctime function. | |
%Ck | File's last status change time in the format specified by k, which is the same as for %A. | |
%d | File's depth in the directory tree; 0 means the file is a command-line argument. | |
%f | File's name with any leading directories removed (only the last element). | |
%F | Type of the filesystem the file is on; this value can be used for _fstype. | |
%g | File's group name, or numeric group ID if the group has no name. | |
%G | File's numeric group ID. | |
%h | Leading directories of file's name (all but the last element). | |
%H | Command-line argument under which file was found. | |
%i | File's inode number (in decimal). | |
%k | File's size in 1K blocks (rounded up). | |
%l | Object of symbolic link (empty string if file is not a symbolic link). |
Page 142
%m | File's permission bits (in octal). | |
%n | Number of hard links to file. | |
%p | File's name. | |
%P | File's name with the name of the command-line argument under which it was found removed. | |
%s | File's size in bytes. | |
%t | File's last modification time in the format returned by the C ctime function. | |
%Tk | File's last modification time in the format specified by k, which is the same as for %A. | |
%u | File's username, or numeric user ID if the user has no name. | |
%U | File's numeric user ID. | |
A % character followed by any other character is discarded (but the other character is printed). |
_prune | If _depth is not given, True; do not descend the current directory. |
If _depth is given, False; no effect. | |
_ls | True; list current file in ls _dils format on standard output. The block counts are of 1K blocks, unless the environment variable POSIXLY_CORRECT is set, in which case 512- byte blocks are used. |
OPERATORS
Listed in order of decreasing precedence:
( expr ) Force precedence. ! expr True if expr is false. _not expr Same as ! expr. expr1 expr2 And (implied); expr2 is not evaluated if expr1 is false. expr1 _a expr2 Same as expr1 expr2. expr1 _and expr2 Same as expr1 expr2. expr1 _o expr2 Or; expr2 is not evaluated if expr1 is true. expr1 _or expr2 Same as expr1 _o expr2. expr1, expr2 List; both expr1 and expr2 are always evaluated. The value of expr1 is discarded; the value of the list is the value of expr2.
SEE ALSO
locate(1L), locatedb(5L), updatedb(1L), xargs(1L) Finding Files (online in info, or printed)
GNU File Utilities
fitstopnmConvert a FITS file into a portable anymap
SYNOPSIS
fitstopnm [-image N][-noraw][-scanmax][-printmax][-min f][-max f][FITSfile]
DESCRIPTION
Reads a FITS file as input. Produces a portable pixmap if the FITS file consists of 3 image planes (NAXIS = 3 and NAXIS3 = 3), a portable graymap if the FITS file consists of 2 image planes (NAXIS = 2), or whenever the _image flag is specified. The results may need to be flipped top for bottom; if so, just pipe the output through pnmflip -tb.