Sponsored Content
Top Forums Shell Programming and Scripting korn shell version at runtime? Post 26605 by qanda on Wednesday 21st of August 2002 08:46:38 AM
Old 08-21-2002
Thanks, I can use that to get a final version.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to convert from korn shell to normal shell with this code?

well i have this code here..and it works fine in kornshell.. #!/bin/ksh home=c:/..../ input=$1 sed '1,3d' $input > $1.out line="" cat $1.out | while read a do line="$line $a" done echo $line > $1 rm $1.out however...now i want it just in normal sh mode..how to convert this?... (21 Replies)
Discussion started by: forevercalz
21 Replies

2. Shell Programming and Scripting

pass runtime parm to at -f shell script

Hi Folks... I am using a ksh script to submit the at command to run a shell script for immediate execution. The shell script requries 1 parameter. Command in the script is at -m -f $EXE_DIR/process_server.sh $START_TIME $DB_NAME where START_TIME=now and DB_NAME= tnsname of Oracle... (1 Reply)
Discussion started by: island360
1 Replies

3. AIX

allocate memory for shell script at runtime during execution--urgent critical help!!

How to allocate memory for a shell script on aix box at the time of execution i.e at runtime Are there any commands for AIX in specific Thanks in Advance (1 Reply)
Discussion started by: aixjadoo
1 Replies

4. UNIX for Dummies Questions & Answers

allocate memory for a shell script at runtime--urgent critical help!!!

How to allocate memory for a shell script on aix box at the time of execution i.e at runtime Are there any commands for AIX in specific Thanks in Advance (3 Replies)
Discussion started by: aixjadoo
3 Replies

5. UNIX for Advanced & Expert Users

Allocate memory for a shell script in Aix at runtime-urgent critical

How to allocate memory for a shell script on aix box at the time of execution i.e at runtime Are there any commands for AIX in specific Thanks in Advance (1 Reply)
Discussion started by: aixjadoo
1 Replies

6. Shell Programming and Scripting

passing runtime arguments to a shell script...

hi I am new to shell programming.....my question is while running one of my shell program it stops in between to accept input from the user and proceeds furthur after giving input....I want to know whether I can set this input through some files so that the shell acript reads the input from the... (10 Replies)
Discussion started by: santy
10 Replies

7. Shell Programming and Scripting

How to activate Korn Shell functionnalities in Bourne Shell

Hi All I have writing a Korn Shell script to execute it on many of our servers. But some servers don't have Korn Shell installed, they use Borne Shell. Some operations like calculation don't work : cat ${file1} | tail -$((${num1}-${num2})) > ${file2} Is it possible to activate Korn Shell... (3 Replies)
Discussion started by: madmat
3 Replies

8. Shell Programming and Scripting

Shell Runtime Statistics

Hi, I am trying to capture runtime stats of a shell script (c shell). Are there system variables to call? Or should I create a date variable at the start of the script and at the end of the script? I am trying to capture the time if the script stops or ends with error. Please help. ... (4 Replies)
Discussion started by: CKT_newbie88
4 Replies

9. Homework & Coursework Questions

Shell Script average runtime

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Make a bash script that calculates average runtime for the first two scripts you made. The average should be... (17 Replies)
Discussion started by: navlelo
17 Replies

10. Shell Programming and Scripting

Bourne shell & Korn shell

Could some one tell me the difference btw Bourne shell and the Kshell? Which is more flexible and reliable in terms of portability and efficiency. When i type the following command .. $ echo $SHELL yields me /bin/sh Does this tells me that I am in Bourne shell. If yes, how can i get... (6 Replies)
Discussion started by: bobby1015
6 Replies
beagle.GeneralBeagleImpl(3)					     HMSBEAGLE					       beagle.GeneralBeagleImpl(3)

NAME
beagle.GeneralBeagleImpl - SYNOPSIS
Inherits beagle.Beagle. Inherited by beagle.DependencyAwareBeagleImpl, and beagle.FourStateBeagleImpl. Public Member Functions GeneralBeagleImpl (final int tipCount, final int partialsBufferCount, final int compactBufferCount, final int stateCount, final int patternCount, final int eigenBufferCount, final int matrixBufferCount, final int categoryCount, final int scaleBufferCount) void finalize () throws Throwable void setPatternWeights (final double[] patternWeights) void setTipStates (int tipIndex, int[] states) void getTipStates (int tipIndex, int[] states) void setTipPartials (int tipIndex, double[] inPartials) void setPartials (final int bufferIndex, final double[] partials) void getPartials (final int bufferIndex, final int scaleIndex, final double[] partials) void setEigenDecomposition (int eigenIndex, double[] eigenVectors, double[] inverseEigenValues, double[] eigenValues) void setStateFrequencies (final int stateFrequenciesIndex, final double[] stateFrequencies) void setCategoryWeights (final int categoryWeightsIndex, final double[] categoryWeights) void setCategoryRates (double[] categoryRates) void setTransitionMatrix (final int matrixIndex, final double[] inMatrix, final double paddedValue) void getTransitionMatrix (final int matrixIndex, final double[] outMatrix) void updateTransitionMatrices (final int eigenIndex, final int[] probabilityIndices, final int[] firstDerivativeIndices, final int[] secondDervativeIndices, final double[] edgeLengths, final int count) void updatePartials (final int[] operations, final int operationCount, final int cumulativeScaleIndex) void accumulateScaleFactors (int[] scaleIndices, int count, int outScaleIndex) void removeScaleFactors (int[] scaleIndices, int count, int cumulativeScaleIndex) void copyScaleFactors (int destScalingIndex, int srcScalingIndex) void resetScaleFactors (int cumulativeScaleIndex) void calculateRootLogLikelihoods (final int[] bufferIndices, final int[] categoryWeightsIndices, final int[] stateFrequenciesIndices, final int[] cumulativeScaleIndices, final int count, final double[] outSumLogLikelihood) void calculateEdgeLogLikelihoods (final int[] parentBufferIndices, final int[] childBufferIndices, final int[] probabilityIndices, final int[] firstDerivativeIndices, final int[] secondDerivativeIndices, final int[] categoryWeightsIndices, final int[] stateFrequenciesIndices, final int[] cumulativeScaleIndices, final int count, final double[] outSumLogLikelihood, final double[] outSumFirstDerivative, final double[] outSumSecondDerivative) void getSiteLogLikelihoods (final double[] outLogLikelihoods) InstanceDetails getDetails () Static Public Attributes static final boolean DEBUG = false static final boolean SCALING = true static final int SCALING_FACTOR_COUNT = 254 static final int SCALING_FACTOR_OFFSET = 126 Protected Member Functions int updateStatesStates (int bufferIndex1, int matrixIndex1, int bufferIndex2, int matrixIndex2, int bufferIndex3) int updateStatesPartials (int bufferIndex1, int matrixIndex1, int bufferIndex2, int matrixIndex2, int bufferIndex3) int updatePartialsPartials (int bufferIndex1, int matrixIndex1, int bufferIndex2, int matrixIndex2, int bufferIndex3) Protected Attributes final int tipCount final int partialsBufferCount final int compactBufferCount final int stateCount final int patternCount final int eigenBufferCount final int matrixBufferCount final int categoryCount int partialsSize int matrixSize double[][] cMatrices double[][] eigenValues double[][] stateFrequencies double[] categoryRates double[][] categoryWeights double[] patternWeights double[][] partials int[][] scalingFactorCounts int[][] tipStates double[][] matrices double[] scalingFactors double[] logScalingFactors Constructor &; Destructor Documentation beagle.GeneralBeagleImpl.GeneralBeagleImpl (final inttipCount, final intpartialsBufferCount, final intcompactBufferCount, final intstateCount, final intpatternCount, final inteigenBufferCount, final intmatrixBufferCount, final intcategoryCount, final intscaleBufferCount) [inline] Constructor Parameters: stateCount number of states Member Function Documentation void beagle.GeneralBeagleImpl.copyScaleFactors (intdestScalingIndex, intsrcScalingIndex) [inline] Copy scale factors This function copies scale factors from one buffer to another. Parameters: instance Instance number (input) destScalingIndex Destination scaleBuffer (input) srcScalingIndex Source scaleBuffer (input) Implements beagle.Beagle. void beagle.GeneralBeagleImpl.finalize () throws Throwable [inline] Finalize this instance This function finalizes the instance by releasing allocated memory Implements beagle.Beagle. InstanceDetails beagle.GeneralBeagleImpl.getDetails () [inline] Get a details class for this instance Returns: Implements beagle.Beagle. void beagle.GeneralBeagleImpl.resetScaleFactors (intcumulativeScaleIndex) [inline] Reset scalefactors This function resets a cumulative scale buffer. Parameters: cumulativeScaleIndex Index number of cumulative scaleBuffer (input) Implements beagle.Beagle. void beagle.GeneralBeagleImpl.setPatternWeights (final double[]patternWeights) [inline] Set the weights for each pattern Parameters: patternWeights Array containing patternCount weights Implements beagle.Beagle. void beagle.GeneralBeagleImpl.setTipStates (inttipIndex, int[]states) [inline] Sets partials for a tip - these are numbered from 0 and remain constant throughout the run. Parameters: tipIndex the tip index states an array of patternCount state indices void beagle.GeneralBeagleImpl.updatePartials (final int[]operations, final intoperationCount, final intcumulativeScaleIndex) [inline] Operations list is a list of 7-tuple integer indices, with one 7-tuple per operation. Format of 7-tuple operation: {destinationPartials, destinationScaleWrite, destinationScaleRead, child1Partials, child1TransitionMatrix, child2Partials, child2TransitionMatrix} int beagle.GeneralBeagleImpl.updateStatesPartials (intbufferIndex1, intmatrixIndex1, intbufferIndex2, intmatrixIndex2, intbufferIndex3) [inline], [protected] Calculates partial likelihoods at a node when one child has states and one has partials. Reimplemented in beagle.FourStateBeagleImpl. int beagle.GeneralBeagleImpl.updateStatesStates (intbufferIndex1, intmatrixIndex1, intbufferIndex2, intmatrixIndex2, intbufferIndex3) [inline], [protected] Calculates partial likelihoods at a node when both children have states. Returns: the larges absolute exponent Reimplemented in beagle.FourStateBeagleImpl. Author Generated automatically by Doxygen for HMSBEAGLE from the source code. Version 1.0.0 Fri May 25 2012 beagle.GeneralBeagleImpl(3)
All times are GMT -4. The time now is 05:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy