Search Results

Search: Posts Made By: aismann
1,776
Posted By aismann
excellent. thanks guys
excellent. thanks guys
1,776
Posted By aismann
Finding files before a certain date with predefined format
Guys,

I have an input file such as below



I would like to know how i would be able to find items created before 2011-10-01

Appreciate any expert advice. Thanks.
25,800
Posted By aismann
Thanks Yogesh
Thanks Yogesh
25,800
Posted By aismann
Thanks Frans. But im using Solaris 8. It does not...
Thanks Frans. But im using Solaris 8. It does not seem to support date -d.
Is there another option? Thanks
25,800
Posted By aismann
Shell script to convert epoch time to real time
Dear experts,

I have an epoch time input file such as : -
1302451209564
1302483698948
1302485231072
1302490805383
1302519244700
1302492787481
1302505299145
1302506557022
1302532112140...
1,708
Posted By aismann
Thank you franklin :)
Thank you franklin :)
1,708
Posted By aismann
Thanks scottn. your answer actually works, ...
Thanks scottn.
your answer actually works, but maybe i was not very clear with my file. Apologies.

My complete file actually has an input like below



How can i be sure that i am getting...
1,708
Posted By aismann
adding another field to SED output
Dear experts,

I have a file called "check" with contents like below



i used the sed command like below to get the value of "success" and "failed" only



My question is how can i get...
1,786
Posted By aismann
Thanks annihilannic. Great
Thanks annihilannic. Great
1,786
Posted By aismann
matching 2 exact fields
Dear experts,

I have a file1 that looks like

60127930928 2091
60129382039 2092
60126382937 2091
60128937928 2061
60127329389 2062
60123748730 2061
60128730293 2061

and file 2 that...
3,922
Posted By aismann
thanks guys. works perfectly
thanks guys. works perfectly
3,922
Posted By aismann
Dear Annihillanic, I got the script...
Dear Annihillanic,

I got the script working. Sorry but i have another question. I am making the script s little interactive, and have modified it to search for different strings everytime i run...
3,922
Posted By aismann
Thanks guys
Thanks guys
1,722
Posted By aismann
fpmurphy, yes. i need to change the date to...
fpmurphy,

yes. i need to change the date to one that is 10 hour prior to the date in the file. Thanks
1,722
Posted By aismann
modifying date (-10 hours) in the content of a file
Dear Experts,

I have a problem. I have a file which has contents such as below, with about 500K lines

34|1|532|2008.10.24...
3,922
Posted By aismann
oh dear im getting a wierd result. the file is...
oh dear im getting a wierd result. the file is filled with ^M. Im sorry ill ftp the file out again. Thanks
root@ckpgpay11core> head -50 AIALARM_MSNLA_20080626.txt | cat -vet
Mroot@ckpgpay11core>
3,922
Posted By aismann
The file starts like this Im using...
The file starts like this



Im using solaris 9
3,922
Posted By aismann
Annihilannic, Tried the script, it took...
Annihilannic,

Tried the script, it took about 3 mins to run, but no output. outputfile was empty :(
3,922
Posted By aismann
A sample expected output should be all lines in...
A sample expected output should be all lines in the file, which match the search pattern "GAA", and output in the format below
3,922
Posted By aismann
finding lines only between a certain string
Dear experts,

Ive been trying to figure this out for a while, but i cant. Please help.
I have a file, with approx 1 million lines. The contents are separated with "----------". Please see...
35,183
Posted By aismann
thanks guys, works great :)
thanks guys, works great :)
35,183
Posted By aismann
removing and rounding up decimals
Hi Experts,

I have a command that gives me the output as below
root@ckpgpay11core> cat sara | awk '{ sum += $1} ; END { print sum }' | awk {'print $1/90'}
8.88889


how do i remove the...
1,414
Posted By aismann
Thanks ajan. The output should look like...
Thanks ajan.

The output should look like below



The first field should be the first field of the file (with "|" as the field separator)
The remaining fields should be the fields whose...
1,414
Posted By aismann
help with sed and awk
Dear experts,

I need some help. I have a file called "x.txt" with the following info



I am using "|" as the field separator. I need some help to find

1) all entries in "x.txt" from...
12,935
Posted By aismann
even after removing the "0x"
even after removing the "0x"
Showing results 1 to 25 of 42

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