9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i need to add 2 string variables into a positioning array , repeatedly - in loop.
First string in $2, second to $3 then up to the desired count incrementing the "position".
Using set -- alone does not increment the count so I end up with 2 variables in the array.
How do I increment the... (7 Replies)
Discussion started by: annacreek
7 Replies
2. Shell Programming and Scripting
I got these entries in a file
alias server.domain.com='ssh 192.168.1.1@user1 '
alias server1.domain.com='ssh user2 @192.168.1.1'
alias server1.domain.com='ssh user3@192.168.1.1'
In the above lines, last line is the correct format. The first is IP@username, has got a space after the... (9 Replies)
Discussion started by: anil510
9 Replies
3. UNIX for Dummies Questions & Answers
I have problem with this for last few days and I would really be grateful if you can help me :wall::wall::wall::wall::wall:
I have sets of files in one directory, and each of them have few lines
each one of these lines has 1 or more occurrence of words
Y =
I need to find the position of the... (10 Replies)
Discussion started by: A-V
10 Replies
4. Shell Programming and Scripting
Hi All,
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
3 Replies
5. UNIX for Dummies Questions & Answers
Is is possible to use the mouse in Terminal on OS X Leopard? I thought I read somewhere in the book that I have that it is, but I can't find it. I'd like to use it to click in one of the editors if I have to. (0 Replies)
Discussion started by: Straitsfan
0 Replies
6. Programming
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
2 Replies
7. UNIX for Dummies Questions & Answers
Can anyone tell me how to ouput the current cursor coordinate? I have tried using tput sc and tput rc. However I want to know what the coordinate is.
Thanks. (1 Reply)
Discussion started by: bestbuyernc
1 Replies
8. UNIX for Dummies Questions & Answers
Hi there,
Is there a way to position the cursor at EOF in vi, I know from the man pages how to position the cursor at the end of a paragraph, but what about the EOF (End Of File).
Regards (6 Replies)
Discussion started by: JimJim
6 Replies
9. UNIX for Dummies Questions & Answers
Is there a way that I can position cursor at say line 23, column 2?
Thank you in advance. (8 Replies)
Discussion started by: Latha Nair
8 Replies