jim mcnamara can give me tha aidia of solution in awk
look the first file like this:
and the second file like this :
0278260 215 1254
0953665 254 1236
do you see the boold part in the first file he does match the fist field in the second file (and note i wnat to work on records that begin with 10 in the first file)
how we can do that with fast program in awk
I want to recopy all the records on the first file not just 10
but when the key search on 10 match the field1 on the second file make some change on record 10 for example add the second field from the second to the end of record 10 or modify a specific part on record 10
hope its clear now
Long story short: I'm working inside of a Unix SSH under a bash shell. I have to code a C program that generates a random number. Then I have to call the compiled C program with a Perl program to run the C program 20 times and put all the generated random #s into a text file, then print that text... (1 Reply)
i want to write a script that executes a program (exec?) .
this program then requires a filename as input.
how do i give it this input in the script so the program will be complete run and close by the script.
program then asks for filename
"enter filename:"... (1 Reply)