Hi
I have installed solaris 10 on an intel machine. Logged in as root. In CDE, i open terminal session, type login alex (normal user account) and password and i get this message
No utpmx entry: you must exec "login" from lowest level "shell" :confused:
What i want is: open various... (0 Replies)
I wrote some expect script to telnet to some device to execute some commands.Firstly,I can't get full result some time,then I try to add some "sleep" command in it.Fortunately it works.
My idea about it is that it uses sleep command to wait the result to be displayed.Am I right or correct the... (4 Replies)
Hey guys
I am trying to send a perl -e command to a number of systems using SSH. The command should retrieve some information for me. The problem is, the remote shell tries to interpolate my variables and doesn't get it should take the command literally and just execute it.
Below the code.... (2 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hi ,
we have a issue in server, we are running a perl script to connect our clients, but we are not able to connect, every time we are getting the
"Invalid argument error"
Even i checked all the necessary perl modules are i installed in this server,
#create the listen socket
my... (2 Replies)
The following is my bash script
-----------------------
#!/bin/bash
exec myscript "$@"
-----------------------
When invoked, the script "myscript" in the exec command
is using the file "/usr/bin/diff"
But, I want the script "myscript"to use the file "/home/bin/diff"
How can I... (1 Reply)
I have a script (ksh, Linux) which is about 500 lines and this is only a small requirement. Below is an example of my requirement.
FunctionThis(){
echo "You are in this. Goes to log"
}
FunctionThat(){
echo "You are in That. Goes to log"
}
FunctionScreen(){
echo "You are in Screen.... (3 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hi All,
i am trying to ssh to a remote machine and execute certain command to remote machine through script.
i am able to ssh but after its getting hung at the promt and after pressing ctrl +d i am gettin the out put as
expect: spawn id exp5 not open
while executing
"expect "$" {... (3 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT CENTOS
devel::cover::test
Devel::Cover::Test(3) User Contributed Perl Documentation Devel::Cover::Test(3)NAME
Devel::Cover::Test - Internal module for testing
VERSION
version 1.03
METHODS
new
my $test = Devel::Cover::Test->new($test, criteria => $string)
Constructor.
"criteria" parameter (optional, defaults to "statement branch condition subroutine") is a space separated list of tokens. Supported tokens
are "statement", "branch", "condition", "subroutine" and "pod".
More optional parameters are supported. Refer to "get_params" sub.
shell_quote
my $quoted_item = shell_quote($item)
Returns properly quoted item to cope with embedded spaces.
perl
my $perl = $self->perl()
Returns absolute path to Perl interpreter with proper -I options (blib-wise).
test_command
my $command = $self->test_command()
Returns test command, made of:
absolute path to Perl interpreter
Devel::Cover -M option (if applicable)
test file
test file parameters (if applicable)
cover_command
my $command = $self->cover_command()
Returns test command, made of:
absolute path to Perl interpreter
absolute path to cover script
cover parameters
test_file
my $file = $self->test_file()
Returns absolute path to test file.
test_file_parameters
my $parameters = $self->test_file_parameters()
Accessor to test_file_parameters property.
cover_gold
my ($base, $v) = $self->cover_gold;
Returns the absolute path of the base to the golden file and the suffix version number.
$base comes from the name of the test and $v will be $] from the earliest perl version for which the golden results should be the same as
for the current $]
run_command
$self->run_command($command)
Runs command, most likely obtained from "test_command" sub.
BUGS
Huh?
LICENCE
Copyright 2001-2013, Paul Johnson (paul@pjcj.net)
This software is free. It is licensed under the same terms as Perl itself.
The latest version of this software should be available from my homepage: http://www.pjcj.net
perl v5.16.3 2013-05-20 Devel::Cover::Test(3)