and i want to do a for so that i can get the values inside this variables:
But what when i do that it put the value of res just shows the value of the value res with the value of c in the front
---------- Post updated at 08:08 AM ---------- Previous update was at 07:25 AM ----------
Hi Admin, i just noticed that when I do postings, the number does not increment. eg :
Post A -Total Posts 312
Post B - Total Posts 312
Post C - Total Posts 313
Post D - Total Posts 313
Why is this so? Can you kindly check this out? Thank you. (5 Replies)
Hi all,
I have a variable with date as 20080831 . Now I want to increment it as 20080901 and so on.Is there any command for this. Please help me.
thanks
rameez (1 Reply)
Hi All,
Iam trying to increment a variable
Following is the code
#!/usr/bin/ksh
i=1;
i='expr $i+1';
echo $i;
Output:
expr $i+1
not able to understand why its happening in that way
i was expecting result as 2... if the above method is worng .. can you help how i can get... (3 Replies)
1. The problem statement, all variables and given/known data:
Variable is resetting to 0 after incrementing in while loop
My bit of scripting displays the current users logged in the machine.
Then it reads in a specific username and displays the processes for that user.
The portion that I... (3 Replies)
I'm currently trying to write a ksh or csh script that would change the name of a file found in directories and attach to the name an incrementing three digit number.
I know how to write a script that will go:
000, 001, 002, 003, etc
The twist is I need more increments then allowed by a 3... (11 Replies)
When I did,
echo $SHELL in cmd prompt of putty,
its displaying /bin/sh
And in my shell script.,
I hav started with.,
#!/bin/sh
and
i=1;
while ;
do
.
.
.
i=$; (9 Replies)
Hi,
I am using BASH. I have encountered a situation where the following is necessary (but I am not sure how to do it):
#Define multiple arrays, whose names only differ by a number:
ARRAY_1=(1 2 3)
ARRAY_2=(4 5 6)
ARRAY_3=(7 8 9)
#Define ARRAY_AMOUNT, the number of arrays. In this case... (1 Reply)
Hello folks.
I am trying to increment my variable names to match a counter that is to be used later on...
Basically, i have a for loop that lists directories (for example TEST_OS DVP_OS PROD_OS ) but this loop is not static, it may contain 3 directory once and the next run 5 directories.
I... (6 Replies)
I have a date variable like 2012-12-31 ( YYYY -MM -DD ) in flat file and it has to be incremtented by 1 every time i run the script
Example : i tried the below script after data modifcation but this does not seem to work
expr `20121231 +%Y%m%d` + 1
Note : Mine is not a GNU... (4 Replies)
This is part of a larger script where I need to pass only 1 line of a file to the script, based on a variable and not a direct reference.
As part of a for loop :
# for((line=0;line<50;line++)); do
# awk ‘NR==$line' PhraseList.txt; done
... (5 Replies)
Discussion started by: Seth
5 Replies
LEARN ABOUT DEBIAN
simplifdconebdd
SIMPLIFDCONEBDD(3) BDD functions SIMPLIFDCONEBDD(3)ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
NAME
simplifDcOneBdd - simplifies a BDD with don't cares on its on-set part
SYNOPSYS
#include "logmmm.h"
pNode simplifDcOneBdd(pBdd1,pBdd2)
pNode pBdd1;
pNode pBdd2;
PARAMETERS
pBdd1 BDD to simplify
pBdd2 "don't care" function
DESCRIPTION
simplifDcOneBdd() simplifies pBdd1 with pBdd2. pBdd2 must be included imperatively in the on-set part of pBdd1. This function returns a BDD
that depends to the order of the BDD.
EXAMPLE
#include "mutnnn.h" /* mbk utilities */
#include "logmmm.h"
pNode nodeA,nodeB;
pNode res,res1,res2;
initializeBdd(SMALL_BDD);
nodeA = createNodeTermBdd(3);
nodeB = createNodeTermBdd(3);
res1 = applyBinBdd(XOR,nodeA,nodeB); /* res1 = (XOR a b) */
res2 = applyBinBdd(AND,notBdd(nodeA),nodeB); /* res2 = (AND (not a) b) */
res = simplifDcOneBdd(res1,res2); /* res1 and res2 = res2 */
/* res = (AND a (not b)) */
destroyBdd(1);
SEE ALSO log(1), bdd(1), simplifDcZeroBdd(3), constraintBdd(3), composeBdd(3), upVarBdd(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 SIMPLIFDCONEBDD(3)