10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want some help in writing a shell script which will be in the below form:
A logical representation of shell scripts:
->Shell scripts start
->Connect to database
->Execute a sql and store the output in a cursor(need to know is there any concept of cursor in unix)
->Using a loop... (2 Replies)
Discussion started by: Chitragupta
2. Homework & Coursework Questions
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: It's a shell script using a looping logic, trap, tput, if, while. Most of the scripts in this book aren't written... (2 Replies)
Discussion started by: ckleinholz
I need to save the actual cursor position into variable in my script.
How can I do it ?
thx for help. (1 Reply)
Discussion started by: presul
4. UNIX and Linux Applications
i have 2 cursors. i want to assign the value of first cursor(employee_id) to the where condition of cursor c2(please refer the bold statement).
how do i do if i want to assign the value of c1 to where condition of cursor c2?
cursor c1 IS
select employee_id from employee
cursor c2... (1 Reply)
Discussion started by: vkca
5. Shell Programming and Scripting
I need to get the cursor position, and put it inside a variable. Problem is, i don't have the tput command, or ncurses.
Apparently I was supposed to try the following:
echo -e '\E
But I don't get a value or anything. Please help. (3 Replies)
Discussion started by: tinman47
6. Shell Programming and Scripting
I have a table in which i have the following data
JOB_NO FILE_ID FILE_NAME
1546148 1378788 PDF Sample -1.pdf
1546148 1378789 PDF Sample -2.pdf
1546149 1378790 PDF Sample -3.pdf
Now I would like use a cursor like thing in unix to download the files using the file ids and send... (1 Reply)
Discussion started by: uuuunnnn
7. Shell Programming and Scripting
please help me to know how to move the cursor to the desired position?
For example, in a shell script, I am displaying
echo "\t Enter your Name:"
please help me how to move cursor near the first word.
for example, if the output is as below
... (3 Replies)
Discussion started by: little_wonder
8. UNIX for Dummies Questions & Answers
Is there a way of finding the current cursor position (line & column) within AIX (4 Replies)
Discussion started by: gefa
9. Shell Programming and Scripting
Pleae help me on this. Normally, when we say read username, the cursor will come in the first position of next line, but I want the output of the below
please enter username:
I want like the below
please enter username:
... (2 Replies)
Discussion started by: balamv
I am using curses.h and signals.h to control output to screen. My code displays an unchanging prompt that waits for user input. Meanwhile alarm signals are being generated that cause other ancillary messages to appear at other locations on the screen at various times.
The problem I have is with... (2 Replies)
Discussion started by: enuenu