Search Results

Search: Posts Made By: gaithrit
5,459
Posted By gaithrit
I am not clear, can you give the command you are...
I am not clear, can you give the command you are running? Thanks.
5,459
Posted By gaithrit
If wanted to extract the data according to...
If wanted to extract the data according to current date like "Aug 11" and test1 is the data file, the below command works.

bash-3.00$ cat test1
root pts/ta userpc Wed Aug 11 09:46 -...
3,007
Posted By gaithrit
If the data file has the below data; b ...
If the data file has the below data;

b 05/Jul/2010:07:00:10
a 05/Jul/2010:06:00:09
b 05/Jul/2010:07:00:10
c 05/Jul/2010:07:10:16
d 05/Jul/2010:08:00:10
e ...
7,934
Posted By gaithrit
I think the problem is due to the below line: ...
I think the problem is due to the below line:


printf "%-12s %-12s %s\n", tbl_name, $f, $(f+1);



This line should be:


printf "%-12s %-12s %s\n", tbl_name, $f, $(f+1);


I...
9,447
Posted By gaithrit
I also faced the same problem of "illegal...
I also faced the same problem of "illegal reference to array a" when I run the command
"awk '{if ($0~/"/) {split($0,a,"\",\"")} else {split($0,a,",")}} {for (i=1;i<=length(a);i++)...
1,586
Posted By gaithrit
If the file is being appended for every run and...
If the file is being appended for every run and only the appended lines need to be processed. Suppose run1 is the file of the first run and run2 is the file of second run which has same content as...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 07:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy