Sponsored Content
Full Discussion: ksh parameter --- change
Top Forums Shell Programming and Scripting ksh parameter --- change Post 22606 by frank on Thursday 6th of June 2002 01:19:56 PM
Old 06-06-2002
Question ksh parameter --- change

I am reading a file into a parameter in my program

typeset nums_type


if the contents of nums_type = asdfghbqwerty


how do make a new paremeter eqaul to the 7th character of nums_type.

like
${type} = b
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ksh: dbfFILe: parameter not set

Having the following message returned: FIND REDLOG FILES..... ksh: dbfFILe: parameter not set When I attempt to perform the script below....#!/bin/ksh . $HOME/.profile # Initial Script Prerequisites ORACLE_SID=MDirect ; export ORACLE_SID REDOLOGDIR=$ARCLOGDEST ; export REDOLOGDIR... (2 Replies)
Discussion started by: Cameron
2 Replies

2. UNIX for Dummies Questions & Answers

How to change a kernel parameter

Hello and thank you everyone that has helped guide me in the past. I need to change the max_thread_proc parameter in order for certain Oracle utilities to function correctly. It is currently set at 64. I am a dba not an sa so please excuse my lack of knowledge on something that is probably... (7 Replies)
Discussion started by: soestx
7 Replies

3. Shell Programming and Scripting

Strange parameter passing problems (KSH)

Hi all, I'm having a rather peculiar problem involving parameter passing with declared functions in my shell script. Hope to get some advice here. A brief description of my code is as follows: However, I'm not getting the results I wanted. If I pass in $rdir, I'm going to end up... (4 Replies)
Discussion started by: rockysfr
4 Replies

4. Shell Programming and Scripting

Accessing the Value of a parameter in KSH

Hi I am new to this forum. Please forgive me, If I am wrong anywhere. I am trying to understand the below code. Can anyone help in understanding what is ${#ST} here. Is that the value of the first parameter??:confused:...what is exit 1 mean. Any clarification is greatly appreciated. export... (3 Replies)
Discussion started by: suaven
3 Replies

5. Shell Programming and Scripting

KSH list as function parameter

Hello, Could anyone help me with some KSH syntax? I'm trying to pass a list as a function parameter in a KSH? For example I have code like this: print_counter() { N=$1 C=$2 for A in $C; do echo "This is $N number $A" done } NAME=BRICK COUNT=" 1 2 3 4" ... (2 Replies)
Discussion started by: pn8830
2 Replies

6. Shell Programming and Scripting

Not getting the out value parameter of a DB call in the ksh file

Hi all Im calling a DB procedure as foll sqlplus -s $DB_USERID/$DB_PASSWD@$DB_NAME<<eof var var1 VARCHAR2(200); exec ODAS_BATCH_JOBS_RETRIEVE.retrieve_user_info(:var1); eof echo $var1 This echo is giving a blank. Also in case the package ODAS_BATCH_JOBS_RETRIEVE is in an un compiled... (2 Replies)
Discussion started by: Sam123
2 Replies

7. Shell Programming and Scripting

How to change parameter of file?

Hi everyone , i have one data file in which data appears like below "a","b","c","d","e", "1","","2","","3" "3","","1","","5", "5","","5","","8" ... there are hundreds of record in that data file like this . now for corrosponding vale "e" there are three values 3,5,8 . Now i need... (5 Replies)
Discussion started by: aishsimplesweet
5 Replies

8. UNIX for Dummies Questions & Answers

Parameter change in shell script

How can i chnage the parameter value in shell script. file name is icare_mmi_cls.com, iside that the parameter name is 10.100.1.2" replace the address to bep-sftp.cce.com. can you please provide me with examples. Thanks. (3 Replies)
Discussion started by: damodarreddys
3 Replies

9. UNIX for Advanced & Expert Users

Change value of a parameter in a file[solved]

I have a requirement to change the value of a parameter in a configuration file at a certain time before a particular script (python script) runs so that it outputs debug logs for the script. There are lots of other parameters in the file but i wnat to change only this particular parameter. ... (0 Replies)
Discussion started by: GosarJunk
0 Replies

10. UNIX for Dummies Questions & Answers

How to pass a parameter to an alias in ksh?

I want to do something like this: alias cd2="cd /data_saves/$(/opt/bin/util/getcustdb -i $@)" Where /opt/bin/util/getcustdb is an inhouse script to lookup customer db name based on a provided id number Then when I use the alias I can cd2 4567 and have it run "/opt/bin/util/getcustdb -i... (3 Replies)
Discussion started by: JourneyRider
3 Replies
GFTODVI(1)						      General Commands Manual							GFTODVI(1)

NAME
gftodvi - make proof sheets from generic font files SYNOPSIS
gftodvi [-overflow-label-offset=real] [-verbose] gf_file_name DESCRIPTION
This manual page is not meant to be exhaustive. The complete documentation for this version of TeX can be found in the info file or manual Web2C: A TeX implementation. The gftodvi program converts a generic font (gf) file output by, for example, mf(1), to a device independent (DVI) file (that can then be typeset using the same software that has already been written for TeX). The characters in the gf file will appear one per page, with labels, titles, and annotations as specified in Appendix H (Hardcopy Proofs) of The Metafontbook. gftodvi uses other fonts in addition to the main gf file. A `gray' font is used to typeset the pixels that actually make up the character. (We wouldn't want all the pixels to be simply black, since then labels, key points, and other information would be lost.) A `title' font is used for the information at the top of the page. A `label' font is used for the labels on key points of the figure. A `slant' font is used to typeset diagonal lines, which otherwise have to be simulated using horizontal and vertical rules. The default gray, title, and label fonts are gray, cmr8, and cmtt10, respectively; there is no default slant font. To change the default fonts, you can give special commands in your Metafont source file, or you can change the fonts online. An online dia- log ensues if you end the gf_file_name with a `/'. For example, gftodvi cmr10.300gf/ Special font substitution: grayfont black OK; any more? grayfontarea /home/art/don/ OK; any more? slantfont /home/fonts/slantimagen6 OK; any more? <RET> will use /home/art/don/black as the `gray' font and /home/fonts/slantimagen6 as the `slant' font (this name indicates a font for lines with slope 1/6 at the resolution of an Imagen printer). The gf_file_name on the command line must be complete. Because the resolution is part of the extension, it would not make sense to append a default extension as is done with TeX or DVI-reading software. The output file name uses the same root as the gf file, with the .dvi extension added. For example, the input file cmr10.2602gf would become cmr10.dvi. OPTIONS
The argument to -overflow-label-offset specifies the distance from the right edge of the character bounding box at which the overflow equa- tions (if any) are typeset. The value is given in TeX points. The default is a little over two inches. Without the -verbose option, gftodvi operates silently. With it, a banner and progress report are printed on stdout. ENVIRONMENT
gftodvi looks for gf_file_name using the environment variable GFFONTS. If that is not set, it uses the variable TEXFONTS. If that is not set, it uses the system default. See tex(1) for the details of the searching. FILES
{gray.tfm,...} The default fonts. {gray.mf,...} The Metafont sources. SEE ALSO
tex(1), mf(1). Donald E. Knuth, The Metafontbook (Volume C of Computers and Typesetting), Addison-Wesley, 1986, ISBN 0-201-13445-4. Donald E. Knuth et al., Metafontware. AUTHORS
Donald E. Knuth wrote the program. It was published as part of the Metafontware technical report, available from the TeX Users Group. Paul Richards ported it to Unix. Web2C 2012 20 April 2007 GFTODVI(1)
All times are GMT -4. The time now is 10:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy