Search Results

Search: Posts Made By: rinku11
4,314
Posted By rinku11
Thanks to all for the respose. It really helped....
Thanks to all for the respose. It really helped. :)
4,314
Posted By rinku11
handling asterix in AWK
I have a file like below.
colA^col2^col3^col4^col5
aa^11^aaa^a1a^111^aa*
bb*^22^bbb*^bb2^222^bb
cc^33^ccc*^3cc^333^ccc
dd^44^d*dd*^d4d^444^ddd
ee^55^e*ee^e5e*^555^e*e

NOTE: '^' is the field...
1,460
Posted By rinku11
Hi Thanks for resposonse but it does not...
Hi

Thanks for resposonse but it does not solve the problem. As I said, Location name is not fixed and LOC A B is just an example of location name. It does not mean that it starts with LOC. Sorry...
1,460
Posted By rinku11
File parsing in Unix
I have got a large file with content as below.

LOCATION A B C 1

Line 3
Line 4



*Line 8
**Line 9


TAG END


LOCATION A B" C 3
...
3,161
Posted By rinku11
Awesome. Thanks a lot to all of you for your...
Awesome. Thanks a lot to all of you for your quick response and test cases. It really helped me a lot. Thanking you once again.

Rinku
3,161
Posted By rinku11
File manipulation in awk
I have got a sample file below(colon(:) is the field separator) . The data is like

col1:col2:col3:col4:col5:col6:col7:col8:col9:col10
11:12:012:aa:a a a:10::111:12:...
8,066
Posted By rinku11
Thanks! But usually, SFTP also works...
Thanks!

But usually, SFTP also works even if you do not exchange the public keys. The only difference is that, if the keys are shared, it will not prompt for the password. To handle this...
8,066
Posted By rinku11
SFTP to MVS system
Hi All,

I have written a script that transfers(FTP) files from Unix system to MVS system.

Below is the code for it.

ftp -inv $HOST<<ftp_test
quote site LRECL=200
quote site...
1,948
Posted By rinku11
Sorting a date coulumn
Hi All,

I have a file say abc.txt with the below data.

1234 876S 01Mar2007 foo
1244 65DF 19Jan2007 boo
9924 234K 01Jan2006 koo
8866 8FGH 12Feb1999 roo
7777 ASDF 13May2007 soo


I...
2,568
Posted By rinku11
Manipulating two files
Hi Friends,
I prefer to represent my problem with example.
I have two files as below:

file1.txt
---------
abcd.....1234......XY
abcd.....1235......XX
abcd....................
4,871
Posted By rinku11
File editing using awk
Hi All,
I have a file, say test.dat which is "|" separated. It has 50K records in it. One of the field in the file has the data in the format 'mm/dd/yyyy'. I need to edit the file by changing the...
6,431
Posted By rinku11
Thanks Dude. It worked..
Thanks Dude.
It worked..
6,431
Posted By rinku11
Thanks Buddy This gave me the output as ...
Thanks Buddy
This gave me the output as
20060620 142 62310 959400 A 8
20060620 142 62310 959400 B
20060620 143 62310 959401 A 11
20060620 143 62310 959401 B
20060620 144 62310 959402 A 17...
6,431
Posted By rinku11
File manipulation using AWK
Hi All,
I have a file having content,
$ cat data1.txt
20060620 142 62310 959400 A 5.00
20060620 142 62310 959400 B 3.00
20060620 143 62310 959401 A 7.00...
2,745
Posted By rinku11
Gunzip utility
Hi All,
Is there any utility or command to read a .gz file without GUNZIPing it?
Why I need this because of the huge size of the file. I am looking for something like zcat. Any help is...
10,437
Posted By rinku11
Let me correct this. It should be nice -n 4...
Let me correct this. It should be
nice -n 4 ksh abc.ksh &
But let me repeat, this job is taking comparatively less time. Hence I need not put priority to this job. Rather I can do the same for...
10,437
Posted By rinku11
Thanks Jim and Matrix for your prompt response. ...
Thanks Jim and Matrix for your prompt response.
Jim,
I am currently working the same way what you have mentioned. But I am not very much sure about your point of time getting splitted among...
10,437
Posted By rinku11
Execution of two jobs simultaneously
Hi All,
I have a script and a diff program,(lets say a java program) which needs to be excuted simulaneously. What I am currently doing is excuting one in foregound and the other in the back...
4,366
Posted By rinku11
Viewing the cron file
Hi All,
I am trying to look into the crontab file present in /var/spool/cron/crontab. A file with the name of the superuser name is present there with the -r-------- permission. Even I am logged...
4,540
Posted By rinku11
Here's a quick nawk solution
Thanks tmaricle,
Your solution really works. I was new to the Associative array concept in awk. This different version of for loop really hold a good power to deal with such sort of problems. I...
4,540
Posted By rinku11
Substitute to GROUP BY function
Hi All,
I really need a help on this thing. Most of us are aware about the group by function in Oracle. Do we have a substitute ( not necessarily a single line command) to it in Unix?
Let me...
1,929
Posted By rinku11
Merging of two files
Thanks Manish for your response.
As the two files are comma delimited, so we dont need any other delimiter for the purpose. Let me say, the position of the key field used for joining/merging,...
1,929
Posted By rinku11
mergng of two files
Hello everybody,
I am getting unexpected result while trying to merge two files. Files are like
$ cat one

10,1,2
20,4,5
30,7,8
ID,A,B

$ cat two

3,10
6,20
9,30
C,ID

While...
45,343
Posted By rinku11
Hi all, Thank you very much for your prompt...
Hi all,

Thank you very much for your prompt responses.
I got some solution in the net its working fine in my desktop(windows 2000) with cygwin, but its giving bailing error in my server(Sun OS...
45,343
Posted By rinku11
How to get the weekday of the given date?
Hi All,
Thanks in Advance.

I want a function/script which returns the weekday of the given date.
the input to the function/script is the date with format MM/DD/YYYY, it should return the weekday...
Showing results 1 to 25 of 26

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