there is a file which contains some values in column format. I want to store those values in a variable.but when i am using awk it is storing all the values at a time.
but i want the values to be stored one by one in that variable.
like
suggestions please.
Last edited by Franklin52; 05-31-2012 at 08:36 AM..
Reason: Please use code tags for data and code samples
from this file i want to pickup the errorcode column and store it in some variable. but when i using awk it is storing all the values inside that column in that variable.i want one value at a time in that variable.
I am using awk as i want to pick a column from a file.
We know that all the threads in process share the process address space.
We have various synchronization mechanisms like semaphore, mutex, spinlock, critical sections etc . used for thread syncronization.
I want to know in which part of the process address space are these synchronization... (2 Replies)
Hi all,
Hope someone can help me out here.
I have this BASH script (see below)
My problem lies with the variable path.
The output of the command find will give me several fields. The 9th field is the path. I want to captured that and the I want to filter this to a specific level.
The... (6 Replies)
I've got the following two queries:
1) What's the difference in performance if a variable storage is at bss and not at the data section (apart from the initialization to zero in case of data section variables --like static variables).
In general, why a developer need to bother about the... (1 Reply)
Hi,
Where are the static variables actually stored in memory. Is it in .bss? In that case how is its storage different from global variables? From the ELF data is it possible to see the storage of different variables used in the program?
eg:
static int temp1;
int gtemp1;
main() {... (1 Reply)
Hello,
Is it possible in awk to release storage that has been allocated?
I am reading two large similar text files and comparing them to create a delta. Each time I read a line from a file I store it in an array - one for each file. It is impossible to know in advance how far it may be... (2 Replies)