10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The bash bash below extracts the oldest folder from a directory and stores it in filename
That result will match a line in bold in input. In the matching line there is an_xxx digit in italics that
(once the leading zero is removed) will match a line in link. That is the lint to print in output.... (2 Replies)
Discussion started by: cmccabe
2 Replies
2. Shell Programming and Scripting
Hi Forum.
I have the following challenge at work that I need to write a script for.
I have a file abc.txt with the following contents:
4560123456
4570987654
4580654321
I want to be able to search/replace in abc.txt - the first 4 characters anything starting with 4560 to 7777; 4570... (3 Replies)
Discussion started by: pchang
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a shell script where I have to connect t oracle database. I have to store the command in a variable and then run the command through the variable.The OS is solaris 10 and the shell is bash.pls help when I run the command it doesnot work.Thanks.
if
CONNECT= "sqlplus... (4 Replies)
Discussion started by: Rossdba
4 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I'm using unix solaris 2.8 with CDE and I would modify the file association in my desktop.
I found the file /usr/dt/appconfig/types/C/datatypes.dt from this topic :
File Extension association in CDE | Unix Linux Forums | UNIX for Dummies Questions & Answers
but this file can only be... (3 Replies)
Discussion started by: Toug
3 Replies
5. Shell Programming and Scripting
Hi All,
I have below variable,
xyz=\$AI_XFR
Now, if you will run the below command
=> echo $xyz
$AI_XFR
It is returning hardcoded string value.
Whereas in environment, there is value in it. Like below:
=> echo $AI_XFR
/home/aditya/sandbox/xfr/
I need to resolve this... (4 Replies)
Discussion started by: adgangwar
4 Replies
6. Shell Programming and Scripting
I need help to store the value returned from the function to one variable and then use that variable.
PREVIOUS_DATE_FUNCTION()
{
date '+%m %d %Y' |
{
read MONTH DAY YEAR
DAY=`expr "$DAY" - 1`
case "$DAY" in
0)
MONTH=`expr "$MONTH" - 1`
case... (1 Reply)
Discussion started by: aroragaurav.84
1 Replies
7. Shell Programming and Scripting
can anyone please help me with this:
i have written a shell script and a stored procedure which has one OUT parameter. now i want to use that out parameter as an input to the unix script but i am getting an error as variable not found. below are the unix scripts and stored procedure...
... (4 Replies)
Discussion started by: swap21783
4 Replies
8. Shell Programming and Scripting
Hi all,
I have a variable say var1 (output from somewhere, which I can't change)which store something like this:
echo $var1
name=fred
age=25
address="123 abc"
password=pass1234
how can I make the variable $name, $age, $address and $password contain the info?
I mean do this in a... (1 Reply)
Discussion started by: freddy1228
1 Replies
9. Shell Programming and Scripting
Hi,
I want to write a perl script, which will increment number stored in file. I want to do this without any file handles. I think we have to use some UNIX commands. I am not sure how to do this with file handles.
Thanks, (1 Reply)
Discussion started by: solitare123
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Any idea how to define the file extension association within CDE.
I need to tell dtfile (the file manager) to open *.log files as text documents and not emails...
Thanks! (2 Replies)
Discussion started by: me2unix
2 Replies
EXISTBDDNODEASSOCON(3) BDD FUNCTIONS EXISTBDDNODEASSOCON(3)
NAME
existbddnodeassocon - computes an existantial quantification.
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
SYNOPSYS
#include "bdd101.h"
bddnode *existbddnodeassocon( BddSystem, BddNode, BddAssoc )
bddsystem *BddSystem;
bddnode *BddNode;
bddassoc *BddAssoc;
PARAMETERS
BddSystem The bdd system.
BddNode The bdd node to treat.
BddAssoc The variable association.
DESCRIPTION
existbddnodeassocon suppress in BddNode, all the variables associated with something in the variable association BddAssoc, in the bdd sys-
tem BddSystem. If a null pointer is given, the default bdd system is used.
RETURN VALUE
existbddnodeassocon returns the computed bdd node.
ERRORS
"bad variable association xxx, error !"
The BddAssoc parameter must a valid variable association.
EXAMPLE
#include "bdd101.h"
bddsystem *BddSystem;
bddcircuit *BddCircuit;
bddnode *BddNode;
bddnode *BddSubst;
bddnode *BddVariable;
bddassoc *Assoc;
chain_list *Expr;
bddvar Variable;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
Expr = createablbinexpr( ABL_AND,
createablatom( "i0" ),
createablatom( "i1" ) );
BddNode = addbddcircuitabl( BddCircuit, Expr );
freeablexpr( Expr );
BddVariable = searchbddcircuitin( (bddcircuit *)0, "i0" );
Variable = getbddvarbyindex( (bddsystem *)0, BddVariable->INDEX );
Assoc = addbddassoc( (bddsystem *)0 );
addbddnodeassoc( (bddsystem *)0, Assoc, Variable, BddSystem->ONE );
BddNode = existbddnodeassocon( (bddsystem *)0, BddNode, Assoc );
Expr = convertbddcircuitabl( BddCircuit, BddNode );
/* displays i1 */
viewablexpr( Expr, ABL_VIEW_VHDL );
freeablexpr( Expr );
destroybddassoc( (bddsystem *)0 );
destroybddsystem( (bddsystem *)0 );
destroybddcircuit( (bddcircuit *)0 );
SEE ALSO
bdd(1)
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 EXISTBDDNODEASSOCON(3)