10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a flat file that contains a list of IP address following 6 additional lines.
I would like to get a help in the following. a shell script that would take ip address or list of ip addresses as input, search one by one the ip address in the file and as soon as it find the exact match it... (12 Replies)
Discussion started by: knijjar
12 Replies
2. Programming
Hi ,
I am getting error in bind function of "Address already in use" even also i have used the setsockopt function in that case .
Please help
int ret = 0;
int listenSock = 0;
struct sockaddr_in myAddr;
struct sockaddr_in ... (1 Reply)
Discussion started by: vipin auja
1 Replies
3. Shell Programming and Scripting
Hi, i am very new to php Is it possible to display Range of date depend on user input day
example:
user input 2 day start from 28/4/12 it will add 2 day from date of input
so display should look like this
28/4/12 to 30/4/12
then from 30/412 user add another 4 date so will... (0 Replies)
Discussion started by: guidely
0 Replies
4. Solaris
hi
can anyone fine a solution thwe the problem that am facing
i was trying to install sun4v client vth sol10_U8,
but when i played "boot net"
its asking for "requesting internet address for 0:21:28:17:80:f4
plz give me a sol for this (1 Reply)
Discussion started by: all_is_well
1 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I wrote a script that reads inputs from user and store in array named "input". The number of elements in the array is not fixed - determined only after user exit the while loop that reads the array values :
x=1
echo "Enter first value"
read input
while } != "exit" ]
do
... (1 Reply)
Discussion started by: luna_soleil
1 Replies
6. Solaris
Hi,
The following error message occured when I was trying to reboot my SUN machine:
Memory address not aligned
Its a Sun 280 R , Ultra SPARC III
What should I do.
Varma (3 Replies)
Discussion started by: gunnervarma
3 Replies
7. Shell Programming and Scripting
Hi,
How do I parse/split lines (strings) read from a file and display the individual tokens in a shell script? Given that the length of individual lines is not constant and number of tokens in each line is also not constant.
The input file could be as below:
... (3 Replies)
Discussion started by: yajaykumar
3 Replies
8. Programming
Hi,
On using GDB debugger on different executables, the address displayed for the symbols seem incorrect, as it shows me the same address in each prorgram, run simultaneoulsy.
eg:
Program: linkmain1.c
Breakpoint 1, main () at linkmain1.c:14
14 printf("In linkmain1.c\n");
(gdb)... (0 Replies)
Discussion started by: karthikb23
0 Replies
9. Shell Programming and Scripting
how can i only display the result according to user input?
For example:
i have a data file(in the attachement), when the user enter "1" it will only display whole records with pid from the data file matches to the users entered. (13 Replies)
Discussion started by: thms_sum
13 Replies
10. Shell Programming and Scripting
Hi, All
here is not a full version script, just post a sample.
#/bin/bash
read -p 'Addr: ' addr
sed 's/<Address>/'"$addr"'/' pf.mod>$1
If the input string include `/', sed will return error message. I know that s/// can be replaced with s::: or s!!!, etc, but the input var can accept... (4 Replies)
Discussion started by: r2007
4 Replies