Search Results

Search: Posts Made By: mad man
3,065
Posted By mad man
I will try this solution today and let you know...
I will try this solution today and let you know the result.
Thanks.
3,065
Posted By mad man
Hi RudiC, Thanks for bringing this awk...
Hi RudiC,

Thanks for bringing this awk command, but in my project we are not using awk any more because we are getting issues when we upgrade perl version.
3,065
Posted By mad man
Hi Don, The the xlate key, xlate table, com...
Hi Don,
The the xlate key, xlate table, com were not on the same position in 3 records but they repeat in the same position for every 3 records. The sample which i posted here is for demo data. I...
3,065
Posted By mad man
RudiC thanks for reply but i strongly believe...
RudiC thanks for reply but i strongly believe that this is solvable since field labels (The values in left side of :) are in fixed position. What do you think about this since this data is in pattern?
3,065
Posted By mad man
Convert fixed value fields to comma separated values
Hi All,

Hope you are doing Great!!!.

Today i have came up with a problem to say exactly it was for performance improvement.

I have written code in perl as a solution for this to cut in...
3,445
Posted By mad man
How to write in multiple output files in perl?
hi,

Hope you are doing good.

During my coding yesterday i got this challenge, actually not a challenge it like to optimize the code.

I am printing some statement to monitor the file progress...
7,326
Posted By mad man
Hi All, Thank you for all your reply i tried...
Hi All,

Thank you for all your reply i tried all the solutions given here but not fruitful.
I ended up in while loop for this issue and it is working.

Thanks.
7,326
Posted By mad man
How to add space in front of cat values?
Hi,

Hope you are all doing fine.

The problem today i faced during my coding was i wanted to add a space equals to a tab character in front of all the lines which i am cat using tee command.
...
10,921
Posted By mad man
Hi All, The actual issue was found, the...
Hi All,

The actual issue was found, the issue what happen is these parallel running scripts are sharing a folder in server to pick the corresponding processing files. At that point of time when...
10,921
Posted By mad man
echo " Calling system_router.ksh" `date` "...
echo " Calling system_router.ksh" `date` " <<<<<\n" >>$temp_log
nohup /$TLExxxx/scripts/appldata_proc.ksh >/dev/null 2>&1 &
sleep 1


Hi Dan here is the piece of code which makes the gap...
10,921
Posted By mad man
Sleep command did not worked
Hi All,

We have a process which is running for last 2 years well and good in production. But suddenly yesterday there was issue we faced in the process.

The actual process is what it does like...
2,600
Posted By mad man
Hi I tried both of these commands i got the...
Hi

I tried both of these commands i got the value '103' required.

Thanks.

---------- Post updated at 07:26 PM ---------- Previous update was at 07:21 PM ----------

Hi All,

Thanks for...
2,600
Posted By mad man
Hi I tried this command like below ...
Hi I tried this command like below
document_type=`sed -n '/^.\{30\}{1:F/ s/^\(.\{30\}{2:I\)\(...\).*/\2/p;' $eachfile`

eachfile was the file which has the file name path. '30' was the position of...
2,600
Posted By mad man
Hi, I am going to try both the solutions...
Hi,

I am going to try both the solutions tomorrow and will let you know the results.

Thanks for the reply.
2,600
Posted By mad man
Hi, Thanks for your reply. Actually the tags...
Hi,

Thanks for your reply. Actually the tags i mentioned are fixed in position but nobody knows when they might change the position for future requirements. So i want to fetch based on the {2:I...
2,600
Posted By mad man
Extract some characters from lines based on pattern
Hi All,

i would like to get some help regarding extracting certain characters from a line grepped.


blahblah{1:F01IRVTUS30XXXX0000000001}{2:I103IRVTDEF0XXXXN}{4:blah...
3,913
Posted By mad man
Thanks Zaxxon, But I would like to avoid...
Thanks Zaxxon,

But I would like to avoid while loops because it would introduce performance issues.
3,913
Posted By mad man
Removing large number of temp files
Hi All,

I am having a situation now to delete a huge number of temp files created during run times approx. 16700+ files. We have never imagined that we will get this this much big list of files...
29,479
Posted By mad man
Hi, Have you tried like below? If not please...
Hi,

Have you tried like below? If not please try once, it might help.

echo "1\n" >>hello.txt
echo "2\n" >>hello.txt
echo "3\n" >>hello.txt


Thanks.
3,900
Posted By mad man
IF statement with square brackets
Hi All,

Hope you all are doing good. Yesterday in my project i came across a scenario which i can not guess why it was working in one region and why it was not in another region. Please find my...
2,964
Posted By mad man
Thank you
Thank you
2,964
Posted By mad man
Hi RudiC, I tried this and it worked can...
Hi RudiC,

I tried this and it worked can you please explain this command.

Thanks.

---------- Post updated at 04:20 PM ---------- Previous update was at 04:19 PM ----------



Hi Aia,
...
3,019
Posted By mad man
@viswanath: Please try to use single...
@viswanath:

Please try to use single redirection symbol in your code like below.

perl -pe 'BEGIN{$/="<name>"} if(/XXX<\/name/){s/Delay/Down/g}' file.xml > file.xml
5,175
Posted By mad man
Hi Rudi C, Thanks for your reply i just ran...
Hi Rudi C,

Thanks for your reply i just ran it for the sample input file it worked well.
But if i mutiply the input records with the same scenario i gave erronous output.please find the attached...
5,175
Posted By mad man
Hi Rudi C, I just changed the 1330 to 1329...
Hi Rudi C,

I just changed the 1330 to 1329 in the abv command, looks like the command just added a space in front of the folded line but it did not added it to the previous line. Please find the...
Showing results 1 to 25 of 54

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