Search Results

Search: Posts Made By: vineet.dhingra
3,681
Posted By vineet.dhingra
Hi Ranga, The mArr array which i have has some...
Hi Ranga,
The mArr array which i have has some NULL values also. How can they be removed?

---------- Post updated at 01:12 PM ---------- Previous update was at 01:05 PM ----------

Thanks...
3,681
Posted By vineet.dhingra
No, we have to extract the date also from the...
No, we have to extract the date also from the string.
3,681
Posted By vineet.dhingra
hi Klashxx, I want it in perl.
hi Klashxx, I want it in perl.
3,681
Posted By vineet.dhingra
I think i am using an older version. it gives...
I think i am using an older version. it gives this error. any other way?
"Can't locate Tie/IxHash.pm "
3,681
Posted By vineet.dhingra
using awk in perl with split command
Hi,
I have an array with following data. First field shows the owner and second is unique name. Now i have to pic the latest value with respect to the date in case of duplicate.
like "def" is from...
33,821
Posted By vineet.dhingra
Sory for missing cases. Its not necessary to have...
Sory for missing cases. Its not necessary to have all the options in a command.
33,821
Posted By vineet.dhingra
No, it wont work. I tried that already.
No, it wont work. I tried that already.
33,821
Posted By vineet.dhingra
Thanks ahamed but I need in csh not bash.
Thanks ahamed but I need in csh not bash.
33,821
Posted By vineet.dhingra
Help on command line argument in csh
HI ,
I am new to csh. I need to pass some command line arguments like
./abc.sh -os Linux -path abc -tl aa -PILX 1
I have defined the loop as shown below. But its taking "-os" switches as...
14,108
Posted By vineet.dhingra
can you tell me the key differences which are to...
can you tell me the key differences which are to be looked to convert it?
14,108
Posted By vineet.dhingra
Need a script to convert csh to bash
Hi,
Can anyone give me a script to convert csh to bash? or any key points which can help me to do so as i am new to it.
70,992
Posted By vineet.dhingra
I have a makefile, and the csh script with name...
I have a makefile, and the csh script with name 'abc.sc'. In the csh script i have a target which i run as "abc.sc N". now i want to run it using a makefile like "make X" which should invoke "abc.sc...
70,992
Posted By vineet.dhingra
how to run a shell script through Makefile
I want to run a target defined in a shell script. The shell script name is 'ua.sc' and the target in it is 'N' i.e. (ua N) throught a makefile. How can i do it so that i can run it with a make target.
12,712
Posted By vineet.dhingra
Hey Thanks for the reply. what if we have a...
Hey Thanks for the reply. what if we have a single date and a space with it ? i.e abc def jhi kbk Tue Apr 8 00:48:29 2011. I have to remove "Tue Apr 8 00:48:29 2011" whole thing.
I used this...
7,719
Posted By vineet.dhingra
Hey @michaelrozar17 can it be dependent on the...
Hey @michaelrozar17 can it be dependent on the time ie(00:12:17) as it will solve anoher purpose to me. may be somewhat like this....

sed '/... ... [0-9][0-9] [0-9][0-9]/:[0-9][0-9]/:[0-9][0-9]/s/
7,719
Posted By vineet.dhingra
Hey @Franklin52 will keep this in mind from next...
Hey @Franklin52 will keep this in mind from next time. please help me with this..
7,719
Posted By vineet.dhingra
Hey @michaelrozar17 thanks, Its working, but...
Hey @michaelrozar17 thanks, Its working, but there is another issue. If the file is like this it doesnt work

input file:

abcd
sadfgfg
on Tue Apr 19 00:48:29 2011
sghjkll
on Wed Mar 20...
7,719
Posted By vineet.dhingra
@michaelrozar17:- Its not working. It is removing...
@michaelrozar17:- Its not working. It is removing "on Tue" not the rest of the part.

Guys i need sed command..
7,719
Posted By vineet.dhingra
The problem is the date,time,day is not fixed....
The problem is the date,time,day is not fixed. They will change.I need to remove date and time also.
Can it be done like if it finds this kind of time format in a file ,it replaces the whole of it....
7,719
Posted By vineet.dhingra
Filter date and time form a file using sed command
I want to filter out the date and time from this line in a file. How to do this using sed command.

on Tue Apr 19 00:48:29 2011
12,712
Posted By vineet.dhingra
I want to filter out the date and time from this...
I want to filter out the date and time from this line in a file. How to do this using sed command.

on Tue Apr 19 00:48:29 2011
Showing results 1 to 21 of 21

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