below is the output where i'm getting the same times tamp throughout the loop., where i'm expecting that to log the current time stamp..
C:\Users\ilango>for /l %i in (1,1,5) do echo for %i
C:\Users\ilango>echo for 1
for 1
C:\Users\ilango>echo for 2
for 2
C:\Users\ilango>echo... (1 Reply)
in one of my script..I have some thing like
john:christina : one::
and i want to make it like
john:chritina:two:(date command):jackey:
basically change 'one' to 'two' and run date :command and add other name: (30 Replies)
Hi all
I run my program prog.c in the following way :
$ ./prog 1 > output.txt where 1 is a user defined initial value used by the program.
But now I want to run it for many a thousand initial values, 1-1000, and store all the outputs in different files.
Like
$ ./prog 1... (1 Reply)
I tried this:
for region in 'raj' 'kt' 'kol' 'krl' 'chn' 'dl' 'hr' 'bih' 'ap'
do
sqlplus -s huw$region/`echo $region`huw#321@huw$region<<!
set serveroutput on
begin
select count(*) from tcd_preferred_cust_201109
end;
/
exit;
done
but the error shows like:
Syntax error at line 4 :... (1 Reply)
I have an input file at ./$1.txt
with content of seq numbers like :
1234567890
1234589700
.
.
so on..
I need to take each seq nbr from the input file ,run the query below:
select ackname,seqnbr from event where event_text like '%seqnbr( from the input file)'
and redirect the... (11 Replies)
Hi ,
Please excuse me for opening a new thread i am unable to find out the syntax error
in my if else condition inside for loop in awk command ,
my actual aim is to print formatted html td tag when if condition (True) having string as "failed",
could anyone please advise what is the right... (2 Replies)
Hi,
i have a source file and have 3 columns and separated by "|" .i want to split this 3 columns in different variable.When i am executing this values indivisually giving correct result but when the same execute inside a for loop,it's giving issues.
Src file(jjj.txt)
-------... (8 Replies)
I have if loop with multiple variable value check in if loop. How can i print only if loop satisfied variable and its value in shell script ? I dont want to check each variable in if loop. That makes my script larger.
if ]
then
echo "Only satisfied variable with value"
... (3 Replies)
Discussion started by: prince1987
3 Replies
LEARN ABOUT OSF1
mkfontdir
mkfontdir(1X)mkfontdir(1X)NAME
mkfontdir, fonts.dir, fonts.scale, fonts.alias - create an index of X font files in a directory
SYNOPSIS
mkfontdir [directory-name...]
DESCRIPTION
For each directory argument, mkfontdir reads all of the font files in the directory searching for properties named "FONT", or (failing
that) the name of the file stripped of its suffix. These are converted to lower case and used as font names, and, along with the name of
the font file, are written out to the file "fonts.dir" in the directory. The X server and font server use "fonts.dir" to find font files.
The kinds of font files read by mkfontdir depend on configuration parameters, but typically include PCF (suffix ".pcf"), SNF (suffix
".snf") and BDF (suffix ".bdf"). If a font exists in multiple formats, mkfontdir will first choose PCF, then SNF and finally BDF.
The first line of fonts.dir gives the number of fonts in the file. The remaining lines list the fonts themselves, one per line, in two
fields. First is the name of the font file, followed by a space and the name of the font.
SCALABLE FONTS
Because scalable font files do not usually include the X font name, the file "fonts.scale" can be used to name the scalable fonts in the
directory. The fonts listed in it are copied to fonts.dir by mkfontdir. "fonts.scale" has the same format as the "fonts.dir" file.
FONT NAME ALIASES
The file "fonts.alias", which can be put in any directory of the font-path, is used to map new names to existing fonts, and should be
edited by hand. The format is two white-space separated columns, the first containing aliases and the second containing font-name pat-
terns. Lines beginning with "!" are comment lines and are ignored.
If neither the alias nor the value specifies the size fields of the font name, this is a scalable alias. A font name of any size that
matches this alias will be mapped to the same size of the font that the alias resolves to.
When a font alias is used, the name it references is searched for in the normal manner, looking through each font directory in turn. This
means that the aliases need not mention fonts in the same directory as the alias file.
To embed white space in either name, simply enclose it in double-quote marks; to embed double-quote marks (or any other character), precede
them with back-slash:
"magic-alias with spaces" regular-alias fixed
If the string "FILE_NAMES_ALIASES" stands alone on a line, each file-name in the directory (stripped of its suffix) will be used as an
alias for that font.
FILES
List of fonts in the directory and the files they are stored in. Created by mkfontdir. Read by the X server and font server each time the
font path is set (see xset(1X)). List of scalable fonts in the directory. Contents are copied to fonts.dir by mkfontdir. List of font
name aliases. Read by the X server and font server each time the font path is set (see xset(1X)).
SEE ALSO X(1X), Xdec(1X), xfs(1X), xset(1X)mkfontdir(1X)