I am using ksh and for the variable, I hard coded the value
That would be appropriate if the variable had been named yyyymmdd and you had used the filename matching pattern:
instead of:
For the filename matching pattern you're using, you needed to set yyyymm using:
instead of:
I'm trying to figure out how to build a small shell script that will find old .shtml files in every /tgp/ directory on the server and delete them if they are older than 10 days...
The structure of the paths are like this:
/home/domains/www.domain2.com/tgp/
/home/domains/www.domain3.com/tgp/... (1 Reply)
Hello,
I've moved to a new network with multiple AIX box's. Most of them are working fine and dandy.
On one box I need to set up a static route to a gateway.. no problem right?
Whenever I add the route it appears in the routing table as UGc and then begins adding new entries to the... (1 Reply)
Please read my issue!
My old server using:
- AIX system operating (5300-05-CSP-0000)
- WebSphere 6.1.0.21 (Fix Pack 21)
After I've upgraded version AIX
- AIX system operating (5300-09-02-0849)
- WebSphere 6.1.0.21 (Fix Pack 21)
I have 1 issue when I access home page:
"Error... (0 Replies)
Hello,
I recently installed GIT 1.8.1 on my AIX 6.1 machine referring to AIX Open Source Packages | Main / git website and am facing a few issues with it.
Now if I login as root and issue git commands like git --version I get the response as shown : git version 1.8.1And I have tried creating... (4 Replies)
Hi Experts,
We are developing a script which will wait for the trigger file(with datetime in the trigger file name).
But the problem is when I use 'while' loop to wait for the file, it waits for the filename with wilcard in it that is wait for 'Trigger*.done' file. :eek:
Below is the script
... (4 Replies)
Hi.
I'm trying to install VMWare Workstation to run a virtual machine on my Mac OS, but running the bundle from bash(xterm)
sh VMware-workstation-Full-11.0.0-2305329.x86_64.bundle
(as suggested in install guide)
comes up with error:stat: illegal option -- -
usage: stat
Digging... (5 Replies)
Hi,
If i were to do this an print out the file, it will show as it is in the command
$ awk '/Privilege Use/ {P=0} /Object Access/ {P=1} P' AdvancedAudit.txt
Object Access
File System No Auditing
Registry No Auditing
Kernel... (1 Reply)
I wish to list only files along with the absolute path in a given directory on my AiX 6.1 system.
Below is the best I could do.
ls -p "/app/scripts"/*
This gives a a list of all filename along with folder names with absolute path non-recurrsive (without listing files in sub-directories)... (1 Reply)
Discussion started by: mohtashims
1 Replies
LEARN ABOUT ULTRIX
xfreefontinfo
XListFonts(3X11) MIT X11R4 XListFonts(3X11)Name
XListFonts, XFreeFontNames, XListFontsWithInfo, XFreeFontInfo - obtain or free font names and information
Syntax
char **XListFonts(display, pattern, maxnames, actual_count_return)
Display *display;
char *pattern;
int maxnames;
int *actual_count_return;
XFreeFontNames(list)
char *list[];
char **XListFontsWithInfo(display, pattern, maxnames, count_return, info_return)
Display *display;
char *pattern;
int maxnames;
int *count_return;
XFontStruct **info_return;
XFreeFontInfo(names, free_info, actual_count)
char **names;
XFontStruct *free_info;
int actual_count;
Arguments
actual_count
Specifies the actual number of matched font names returned by
actual_count_return
Returns the actual number of font names.
count_return
Returns the actual number of matched font names.
display Specifies the connection to the X server.
info_return
Returns a pointer to the font information.
free_info Specifies the pointer to the font information returned by
list Specifies the array of strings you want to free.
maxnames Specifies the maximum number of names to be returned.
names Specifies the list of font names returned by
pattern Specifies the null-terminated pattern string that can contain wildcard characters.
Description
The function returns an array of available font names (as controlled by the font search path; see that match the string you passed to the
pattern argument. The string should be ISO Latin-1; uppercase and lowercase do not matter. Each string is terminated by an ASCII null.
The pattern string can contain any characters, but each asterisk (*) is a wildcard for any number of characters, and each question mark (?)
is a wildcard for a single character. The client should call when finished with the result to free the memory.
The function frees the array and strings returned by or
The function returns a list of font names that match the specified pattern and their associated font information. The list of names is
limited to size specified by maxnames. The information returned for each font is identical to what would return except that the per-char-
acter metrics are not returned. The pattern string can contain any characters, but each asterisk (*) is a wildcard for any number of char-
acters, and each question mark (?) is a wildcard for a single character. To free the allocated name array, the client should call To free
the the font information array, the client should call
The function frees the the font information array. To free an structure without closing the font, call with the names argument specified
as NULL.
See AlsoXLoadFont(3X11), XSetFontPath(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XListFonts(3X11)