Search Results

Search: Posts Made By: vinay4889
4,264
Posted By vinay4889
Evaluate Variable At Runtime
Hi,

I am trying to set a variable that has time the format desired. And my intention is to echo variable (instead of actual date command) everytime I like to echo date. Please take a look at...
24,727
Posted By vinay4889
:cool:
:cool:
24,727
Posted By vinay4889
Please have a look at below details. $...
Please have a look at below details.


$ gzip -V
gzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H

$ file /usr/bin/gzip
/usr/bin/gzip: executable (RISC...
24,727
Posted By vinay4889
Thanks Jim. I used gzip -v to get compression %....
Thanks Jim. I used gzip -v to get compression %. And again gunzip -v while decompression. Both showed same , 175.7%.

And yes it is ture, no matter what compression % it showed , file is...
24,727
Posted By vinay4889
Thanks for quick resonse. I am confused a bit....
Thanks for quick resonse.
I am confused a bit. My assumption was based upon some pages on Internet. Can you please take a look at below.

Why GZip compression increases the file size for some...
24,727
Posted By vinay4889
Show Percentage Compression in GZIP
Hi,

I used gzip command to compress a huge tar file. But I saw that compression % was more than 100%.
It might have inflated instead , probably because tar file is already packed properly.
...
6,980
Posted By vinay4889
Alternative script for LFTP command
Hi,

I was looking for a command which would help sending files parallely to remote server , and lftp is the closest option I could got. Unfortunately when I checked the AIX machine I work on does...
19,182
Posted By vinay4889
Metadata table contain 1.set of values...
Metadata table contain
1.set of values (numeric as well String) which are the constituents of Query for every Id.
2. Query for every Id.

Id is the primary key in table.


I use m_db...
19,182
Posted By vinay4889
Corona, I have a query and I want to run it...
Corona,

I have a query and I want to run it passing parameters at runtime. For which I tried the way I explained below and believe me that is the purpose of program.

I need to run the Query(s)...
19,182
Posted By vinay4889
Corona, I tried to explain my actual purpose...
Corona,

I tried to explain my actual purpose in previous post.
Let me go to the problem statement directly.

Suppose this is the Query.

echo "$Query"

Select '$ENV',t1.field1,t2.field2...
19,182
Posted By vinay4889
Corona, Thanks for the reply. I am sorry...
Corona,

Thanks for the reply.
I am sorry that you had ask it again :(. I thought instead of explaining the whole problem statement , it would be good if I just ask what is it that I am facing...
19,182
Posted By vinay4889
Corona, I wanted to resolve a variable (say...
Corona,

I wanted to resolve a variable (say Table_1) which again is inside another varible (say Query = $Table_1 Join).Using double quotes (") I was able to it it for sample examples.

Now...
19,182
Posted By vinay4889
Thanks everyone for helping me understand the...
Thanks everyone for helping me understand the basics.I used m_eval option and it worked.

I will try out other options as well and will get back if there is any problem.

Thanks again.
19,182
Posted By vinay4889
Resolve variable inside another variable
Hello Everyone,

I am trying to resolve a variable inside another variable.Let me go straight to the example.

Input:

Query=$Table_1 Join $Table_2

(Query itself is a variable here)

Now...
14,429
Posted By vinay4889
Hi Everyone, Thanks for the help. I got the...
Hi Everyone,

Thanks for the help. I got the output as expected , and now I have more than one option to achieve that:).

I am still not clear on one thing though. Why can not we use shortcuts...
14,429
Posted By vinay4889
Regular Expression in Find command [KSH]
Hello,

I am trying to use regex wtih find command in KSH. For some reason it is not working as expected.

Input:
comm_000_abc_0102.c
comm_000_abc.c
456_000_abc_1212.cpp
456_000_abc_.cpp
...
8,309
Posted By vinay4889
Hi Robin, I tried below to do the same. ...
Hi Robin,

I tried below to do the same.


awk 'BEGIN{
FS="|";
RS=";";
}
{
print "We are here after begin";
--Here I want to assigne values in 2 D array
--say array[i,j]=$2
}
END {...
8,309
Posted By vinay4889
Delimited File to 2D Array
Hello,

I need help in fetching data from a delimited file , into a 2D array.

Sample Input File:

"|" as delimiter

A|123|446pr;
B|46|hello89
krp;
C|78|ystp90
67;
D|ga|456;
...
30,927
Posted By vinay4889
Thanks Corona ! I was simply using 2>&1 to...
Thanks Corona !

I was simply using 2>&1 to redirect previously (was not aware of exec).

I have not tried this solution yet , however I assume after using this nothing will printed on console...
30,927
Posted By vinay4889
Create Log File in ksh itself
Hi,

I want to create a log file for a running ksh , and the log file absolute path I want to give in ksh itself.
To elaborate this - Say I have a ksh - timer.ksh and I want to create a log...
Showing results 1 to 20 of 20

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