10-25-2009
Hi.
Not sure. Is that a single quote in your input?
Perhaps you need to use "addslashes" on $value to escape that.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have an SCO system with several PC's hooked up via ProComm and serial cabling (no Ethernet). I want to occasionally transfer a small text file from the UNIX system to a specific PC without the PC operator having to do anything (she may be out to lunch or doing other work during the transfer)
... (0 Replies)
Discussion started by: gbrowne
0 Replies
2. Shell Programming and Scripting
Hello,
I have written some scripts that query the user and waits for keyboard input for an answer. I was wondering if there is any generic code snippets out there that would allow me to run this as a GUI. I am thinking of a simple dialogue box that would display the question and have a text... (1 Reply)
Discussion started by: Allasso
1 Replies
3. Shell Programming and Scripting
hi all,
can anybody help me with script or command to ftp some text file from windows machine to AIX machine.
this is shud be done by executing a shell script. (1 Reply)
Discussion started by: suprithhr
1 Replies
4. Web Development
Hi,
plz ignore the error in subject. i need new line in text area.
I am designing a JSP in which i have to display a field taken from oracle DB table in a text area.. field is first selected from oracle thru C++ and passed to jsp in a variable as one long string. the problem is while inserting... (2 Replies)
Discussion started by: suresh_kb211
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I need to format the content in a text file as below format. Can some one help me how to approach? Also whether is it possible to convert the output to excel in column wise?
Present:
=============================================================================
Name: vinodh
Status:... (1 Reply)
Discussion started by: vino_hymi
1 Replies
6. Shell Programming and Scripting
I am having one string like
./usr1/Server/temp/app.env ./usr1/Server/temp/upp/app.env ./usr1/Server/ORIG_temp/app.env ./usr1/Server/ORIG_temp/upp/app.env ./usr1/Server/work_temp_40/app.env ./usr1/Server/work_temp_40/upp/app.env ./usr1/fd/app.env ./usr1/PurgeArchive/app.env ./usr1/bm/bin/app.env... (6 Replies)
Discussion started by: dineshmurs
6 Replies
7. Shell Programming and Scripting
Hello everyone,
I work under Ubuntu 11.10 (c-shell)
I need a script to create a new text file whose content is the text of another text files that are in the directory $DIRMAIL at this moment.
I will show you an example:
- On the one hand, there is a directory $DIRMAIL where there are... (1 Reply)
Discussion started by: tenteyu
1 Replies
8. Shell Programming and Scripting
I have two files,
sec.txt(1st File)
3172
disp.txt(2nd file)
the file name is
***********
45676
Now i want to compare the value in sec.txt file with disp.txt file
Excatly i want to compare the value 3172 in first file and 45676 in second file.
i want to compare the first line of... (11 Replies)
Discussion started by: rammm
11 Replies
9. Web Development
hi,
i have a list box , a text box and a button in a html form.
list box displays some values, when a user selects a value from the list box and press the button. the selected value should be copied to the text box value.
can any1 give me a html and javascript code to do this facility.
... (1 Reply)
Discussion started by: Little
1 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I have an issue modifying a file. Below is the content of the file.
File name - a.txt
SELECT LISTAGG(SCORE), LISTAGG(VB),
LISTAGG(SCORE*12 + 3),
LISTAGG(DOB)
from T_CONCAT ;
SELECT LISTAGG(SCORE),
LISTAGG(VB),
LISTAGG(SCORE*100 + 3),
from... (1 Reply)
Discussion started by: Mannu2525
1 Replies
LEARN ABOUT LINUX
genlib_copy_up_con
GENLIB_COPY_UP_CON.3(October 1, 1997) GENLIB_COPY_UP_CON.3(October 1, 1997)
NAME
GENLIB_COPY_UP_CON - copy a physical connector from an instance in the current figure
SYNOPSYS
#include <genlib.h>
void GENLIB_COPY_UP_CON(index, conname, insname, newname)
long index;
char *insname;
char *conname;
char *newname;
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
PARAMETERS
index Connector index in the instance
conname Name of the connector in the instance model
insname Name of the instance the connector belongs to
newname Name to be given to the connector in the current figure
DESCRIPTION
COPY_UP_CON copies a instance connector into the current layout figure, and gives to the new connector the name newname. The instance con-
nector is identified by its name, conname, and index, index.
Two behaviour are expected, depending on the instance connector location regarding the abutment box of the current figure.
Connector on the abutment box
The figure connector is place right over the instance connector. The single connector is duplicated.
Connector inside the abutment box
The instance connector face is computed in the figure, and then, the connector is duplicated on the given face, at the
right coordinates for this face. Then a wire is drawn between the instance connector and the figure connector in the
connector layer.
If newname is NULL, then not connector is copied up, on the segment is drawn to the side of the abutment box.
ERRORS
"GENLIB_COPY_UP_CON impossible : missing GENLIB_DEF_PHFIG"
No figure has been yet specified by a call to DEF_PHFIG. So it isn't possible to place a connector inside it. you must call
DEF_PHFIG before any other layout action.
"*** genlib error *** GENLIB_COPY_UP_CON impossible : connector conname index index of instance insname, current figure doesn't exist"
The given connector does not exist in the current figure.
EXAMPLE
#include <genlib.h>
main()
{
/* Create a figure to work on */
GENLIB_DEF_PHFIG("cell");
.
.
GENLIB_PLACE_LEFT("gaer0_f", "insN", SYMXY);
.
.
GENLIB_DEF_AB(0L, 0L, 0L, 0L);
/* Put a connector */
GENLIB_COPY_UP_CON("i0", 1, "insN", "inz0");
/* Save that on disk */
GENLIB_SAVE_PHFIG();
}
SEE ALSO
genlib(1), GENLIB_DEF_PHFIG(3), GENLIB_SAVE_PHFIG(3), GENLIB_COPY_UP_ALL_CON(3), GENLIB_COPY_UP_CON_FACE(3), GENLIB_PHCON(3), GEN-
LIB_THRU_CON_H(3), GENLIB_THRU_CON_V(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.
PROCEDURAL GENERATION LANGUAGE
ASIM/LIP6 GENLIB_COPY_UP_CON.3(October 1, 1997)