Search Results

Search: Posts Made By: hi.villinda
4,359
Posted By hi.villinda
Grep a pattern from zip file which has multiple files insdie
Hi Gurus,


I got a small requirement in my script to grep a specific pattern in a zip compressed file which has been created with multiple files.


Sample File: 20180913.zip



$> zipinfo...
5,250
Posted By hi.villinda
Thanks for your response RudiC.... I have...
Thanks for your response RudiC....

I have tried supplying the input as stdin. But it didn't work for some reason.

Do you have any examples to use perl logic itself to accomplish the same...
5,250
Posted By hi.villinda
Using awk command in Perl
Hi All,

I got some requirement of using Awk in perl subroutine
One of the variable in my perl script holds below type of data.



I want to split this value as quotes seperated and...
Forum: Linux 05-20-2015
1,716
Posted By hi.villinda
awk '/12345 version 1/,/12345 version 2/ {print...
awk '/12345 version 1/,/12345 version 2/ {print }' file

I tried above, it didnt work.....

Somehow below one is also not working....

awk '/03:05:37/,/03:07:18/ {print }' file

It is...
Forum: Linux 05-19-2015
1,716
Posted By hi.villinda
Thanks much for the reply. Its working......
Thanks much for the reply.

Its working... but could you let me know the way for searching the keawords in same way... For Ex: I want to find out all the logs between two specific keywords...
...
Forum: Linux 05-15-2015
1,716
Posted By hi.villinda
Limited log on specific timelines
Hi Gurus,

We have a very huge size log files (around 3-4 GBs), in which all the versions (nothing but a log entries) of orders would be saved... It is very hard to find out the exact piece of log...
2,903
Posted By hi.villinda
Thanks Masir for the reply... if ...
Thanks Masir for the reply...


if ((!($InputLine=~/^Date/)) && (!($fields[6] eq "MYR"))) {


I need to un-filter the VEN records... hence i used above... It worked now...

Thanks...
2,903
Posted By hi.villinda
It is part of a filtering records from a file...
It is part of a filtering records from a file using a perl sub routine

I'm getting below syntax error while running the sub routine



26th line is that IF statement...

$InputLine is...
2,903
Posted By hi.villinda
If statement with unmatched condition
Hi Gurus,

I'm facing some issues with multiple conditions in my if statement.


if (!($InputLine=~/^Date/)) && (!($fields[6] eq "VEN")) {


Above is the line troughing some syntax...
Showing results 1 to 9 of 9

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