Search Results

Search: Posts Made By: mad_man12
834
Posted By mad_man12
HI Rudi, Thanks for the response \n\r are...
HI Rudi,

Thanks for the response
\n\r are ascii control characters, also I meant double quotes where I have mentioned single, I am not proficient in Unix and primarily a PL/SQL developer so don't...
834
Posted By mad_man12
Replacement Query in a file
Hi All,
Please can you help me with below, i have a file with records ( eg of one record below)
Record R1 - The field separtaor between records is | (Pipe)
|123|Mukesh\r\n|Vivek"sharma|


...
2,684
Posted By mad_man12
Thats right PiKK45 *00??.csv to be replaced by...
Thats right PiKK45 *00??.csv to be replaced by *0??.csv

i have tried this and it seems like working

ls *00??.csv > temp.out
sed 's/00/0/g' temp.out > temp1.out
paste temp.out temp1.out >...
2,684
Posted By mad_man12
Thanks but i dont know if the file will start...
Thanks but i dont know if the file will start with xyz or abc .....or anything else it a * for me so cant replace
2,684
Posted By mad_man12
don't have much idea on how this can be achieved
don't have much idea on how this can be achieved
2,684
Posted By mad_man12
Renaming files
Hi

i have to achieve the following

i have files as xyz001.csv, xyz002.csv.......xyz0025.csv in a folder, i need to keep xyz001.csv as it is
but want to remove the extra zero on filename...
1,454
Posted By mad_man12
Hi Rudic we can avoid max 25MB requirement, ...
Hi Rudic we can avoid max 25MB requirement,


Code:
Code used : awk 'BEGIN{getline f; }{ print > "'$val'" 1 + int (NR%25) ".csv" } ' $original_file

where $original_file->Source file
getline...
1,454
Posted By mad_man12
How to Split a source file in specified format?
Requirement: Need to split a source file say a1.txt which can be of size upto 150 MB into 25 target files each with a max size of 25 MB along with the header line in each target file.

NOTE: Few...
1,298
Posted By mad_man12
Line break issue
In short i want to automate this

Search Any line ending with GBP
do a shift+J ( But it brings the follwing line with only space between GBP's)
So delete the space
and then do the tab
1,298
Posted By mad_man12
Line Break problem
Hi All,
Please can you advise/help on the below issue
i did a bcp out of a table, it is having problem of line break such that one line is getting broken in two lines for many records.


eg...
1,844
Posted By mad_man12
concatenate is ignoring space
Hi All,I am facing the below problem I have set a variable:
a=`cat a.txt| grep "mad" | cut -c 30-50`the output is coming
echo $a1
10 Mad300 3215however the actual ouput is
1.10 Mad300 ...
Forum: AIX 11-17-2011
4,420
Posted By mad_man12
Enable large filesize option in NFS mount in AIX 4.3
Hi All,

I have a NFS mount filesystem, however it is not supporting a creation of filesize greater than 2 GB in it, how can i enable the option (bf = true) in it.

The AIX version is 4.3.2
...
2,590
Posted By mad_man12
Thanks a Lot Pludi, the script ran wonder and...
Thanks a Lot Pludi, the script ran wonder and completed in 1hour 36 min
Much Appreciate the help.:b:
2,590
Posted By mad_man12
giving error while executing
Thanks a lot but but to be frank i dont have any knowledge about perl
so what i did was to put the script and file1, file2 file3 in a directory and
ran the script but it gives me a syntax error
...
2,590
Posted By mad_man12
Performance issue
hi I am having a performance issue with the following requirement
i have to create a permutation and combination on a set of three files
such that each record in each file is picked and the output...
1,250
Posted By mad_man12
Substitution/Addition
Hi I need to do the following substitution
I have to look for line starting with ABC and add 4 ":" before the first occurence of "+"in that line
Input...
2,584
Posted By mad_man12
1024 field issue : awk
Hi i have a txt file in which i do a awk operation with ":" as field separator

A
B
C
D
ABC::2386.13:2386.13:3248234281995::+DPY:INT:3:N::::2:200.00:0.00:2010-05-12:CA:...
Forum: AIX 05-10-2010
4,341
Posted By mad_man12
Thanks - resolved
Thanks a lot, was able to figure out the issue through vmstat.
Undoubtley the best forum for Unix queries.
Forum: AIX 05-06-2010
4,341
Posted By mad_man12
performance issue in AIX
Gurus, i have process that runs 5 times a day.
it runs normally (takes about 1 hour) to complete in 3 runs
but it is takes about ( 3 hrs to complete) two times
So i need to figure out why it takes...
2,036
Posted By mad_man12
masking issue
Hi I am facing an issue with the below script which has the below line
each field being separated with a tab.

I need to mask the 8 and 7th field based on following conditions

1. 8th field is...
8,604
Posted By mad_man12
Hi rdc, The last line of above is not...
Hi rdc,

The last line of above is not giving me the desired output for cc num
with spaces, the above code is also throwing some syntax error

Thx a lot
8,604
Posted By mad_man12
Masking of number
BAT:0310:2009-08-0:Y4 :H:D:00003721:03103721.IFH:00138770:05767:00000000001279'
EXR:CLP:912.570000'
STA:A:9071559:2009-08-10::Wer::Mrs'...
3,231
Posted By mad_man12
Thanks Unix and Perl Gurus!! i am looking...
Thanks Unix and Perl Gurus!!

i am looking for the replacement in the input file itself such that
the script once run should replace with * in the input file, the above code is giving me...
3,231
Posted By mad_man12
encryption credit num
BAT:0310:2009-08-0:Y4 :H:D:00003721:03103721.IFH:00138770:05767:
00000000001279'

EXR:CLP:912.570000'

STA:A:9071559:2009-08-10::Ward::Mrs'
...
3,231
Posted By mad_man12
hey Panyam, Its you Again!!, thanks a lot!!...
hey Panyam,

Its you Again!!, thanks a lot!! but would require more

as the following change needs to be imbedded in this code



ls *.txt | while read file ; do
awk -F:...
Showing results 1 to 25 of 74

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