open LOG, "a";
$print_ind = 0;
while ( <LOG> ){
$print_ind = 0 if ( m/D function_sub\(\) SUB input data 1021214/ );
print if $print_ind;
$print_ind = 1 if ( m/D function_add\(\) ADD input data 1021214/ );
}
Last edited by quirkasaurus; 12-03-2009 at 01:16 PM..
Reason: slight logic error.
Hi,
Is there a way I can extract my data faster. You know my data is 1.2 GB text file with 8Million rows with 38 columns/fields. Imagine how huge this is.
How I can optimized the data extraction using perl. That is why I'm creating a script to filter only those informations that I need. Is... (3 Replies)
Hi,
I want to extract some part of a pattern that matches my requirement in a string with PERL. A case in point is a string like:
$eqtst="abh nmae res = 10 s abh nmae req = 10 s";
from which I want the words preceding the "=" symbol.
Previously I was assured that there would be only 2 such... (4 Replies)
I have a string stored in a variable. For instance,
$str = " Opcode called is : CM_OP_xxx "
where xxx changes dynamically and can be either LOGIN or SEARCH..... depends on runtime.
For example :
$str = " Opcode called is : CM_OP_SEARCH "
$str = " Opcode called is : CM_OP_LOGIN "
I... (3 Replies)
the log contains mathematical operation as follows
fm_void_mathematics : PCM_OP_MATHS input function
PIN_FLD_NUM1 INT 1
PIN_FLD_NUM2 INT 2
PIN_FLD_RESULTS int
PIN_FLD_OUT INT *
D Wed Sep 16 05:40:22 2009 solaris_testing
fm_void_add :
PIN_FLD_SUM int 3
D Wed Sep 16 05:40:22 2009... (1 Reply)
HI,
i have variable in perl like below
$tmp="/home/sai/automation/work/TFP_GN.txt"
it can conatain any path its filled from config file.
now i want extarct the path upto this /home/sai/automation/work/ and put it in another variable
say... (4 Replies)
Hello,
I want to extract the words from a file which starts with SRD-R or SRD-DR.
I have written a script which is able to trace the word but it is printing the whole line.
sub extract_SRD_tag{
my ($tag, $app, $path, @data, $word );
$path = shift;
$app = shift;
open (FILE, $path) or... (2 Replies)
Hi,
I am using the following code to retrieve the contents between C-style comments "/* .. */".
perl -lne 'while(/(\/\*.*?\*\/)/g) {print "$1";}'
This works fine when the commented section of code is present in a single line. But I also need to extract the data which is present inside... (3 Replies)
Dear all,
I find a perl script that contains the following codes. Does anybody know the meaning of codes highlight.
.....
@field = parse_csv($file);
chomp(@field);
........
........
sub parse_csv {
my $text = shift;
my @new = ();
push( @new, $+ ) while $text =~ m{... (9 Replies)
Hi, I need to extract Password expires from the output of windows command print `net user %USERNAME% /domain`; in perl. So i want to redirect the output of this win-cmd to a file and try extracting Password expires along with its value. i'm trying with this code but getting errors.
#!usr/bin/perl... (1 Reply)
I am working on converting shell to Perl script. In shell we have built in function
trap
Do you know alternative in Perl or actually we don't need it?
Thanks for contribution (3 Replies)
Discussion started by: digioleg54
3 Replies
LEARN ABOUT DEBIAN
nunit-console
nunit-console(1) General Commands Manual nunit-console(1)NAME
nunit-console - Test-based front-end to NUnit
SYNOPSIS
nunit-console [assemblies] [options]
DESCRIPTION
nunit-console is a simple but powerful front-end to NUnit, a testing framework for .NET. It will run all or some tests from the assemblies
specified as arguments and display the results.
Results can be written in either XML or plain text.
OPTIONS
/fixture=STR
Run specified fixture
/config=STR
Project configuration to load
/xml=STR
Write test result output data to specified file
/transform=STR
Name of transformation file to run on XML output file.
/xmlConsole
Print XML to the console.
/output=STR
File to receive regular test output
/err=STR
File to reveive test error output
/labels
Label each test in output.
/include=STR
Test categories to include (may contain wildcards)
/exclude=STR
Test categories to exclude (may contain wildcards)
/noshadow
Disable shadow copy
/thread
Run tests on a seperate thread.
/wait Wait for input before closing window.
/nologo
Do no show credits at startup.
/help Show list of available arguments.
SEE ALSO
/usr/share/doc/nunit/html
AUTHOR
This manpage was written by Jelmer Vernooij <jelmer@samba.org> for
the Debian project (but may be used by others).
1 June 2005 nunit-console(1)