09-16-2015
absolute path worked, thanks
This User Gave Thanks to unclecameron For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've been trying in vain to delete a file that I accidentally created. The name of the file is -e
of course, everything I attempt to do with the rm command (rm -i * for example) comes back with:
rm: illegal option -- e
usage: rm file ...
Any suggestions on what I can do to remove this... (3 Replies)
Discussion started by: steelrose
3 Replies
2. UNIX for Dummies Questions & Answers
I want to copy the contents of a named pipe to a file. I have tried using:
cat pipe.p >> transcript.log
but I have been unsuccessful, any ideas? (4 Replies)
Discussion started by: carl_vieyra
4 Replies
3. Solaris
Hi
I installed BIND 9 from dvd image of my Solaris 10 (SUNWbind, SUNWbindr) and when I try to start it(svcadm enable network/dns/server), it says there is no /etc/named.conf file.
Why is it so ?
Should not this file be created during installation phase ?
Do I have to create it manually ?... (0 Replies)
Discussion started by: presul
0 Replies
4. Shell Programming and Scripting
I would like to pipe (redirect ? - what is the right term?) the output of my script to a file named with the current date.
If I run this at a command prompt:
date +'%Y%m%d"
...it returns "20110429"
OK, that's good... so I try:
./script.sh > "'date +%Y%m%d'.csv"
I get a file... (1 Reply)
Discussion started by: landog
1 Replies
5. Red Hat
hello everyone,
I have install centos 5 recently.The file /etc/named.conf not found. I have installed BIND using yum. so now what to do ?? should i create named.conf file manually ???
please help me.
thanks,
sharlin. :) (1 Reply)
Discussion started by: sharlin
1 Replies
6. Shell Programming and Scripting
Hi folks
Please help to delete the file
-rw-r--r-- 1 sri sri 157 Dec 13 04:42 \
here unexpectedly "\" is created.
if am deleting using
> rm \ --i cant able to delete by using the command
******* here is the output i got ****
sri:> cat \
>
please help me how to delete
... (1 Reply)
Discussion started by: coolboy98699
1 Replies
7. Shell Programming and Scripting
I have a ksh93 script I use that processes a file list in the order that they exist in the list. I would like to speed up processing of the list by having multiple processes handle it at once. I was thinking that perhaps a good way to handle this would be to write the list to a named pipe and some... (4 Replies)
Discussion started by: benalt
4 Replies
8. Shell Programming and Scripting
Hi, There is a file by name '*' in a hp-ux box. How can i delete the same?
-rw-r--r-- 1 wleadm dba 1531 Jul 24 08:49 *
need to delete this file named * without deleting any other file. Please help. (9 Replies)
Discussion started by: sam_bd
9 Replies
9. Solaris
I accidentally saved a txt file in vi with the name ":q!".
no amount of regex tomfoolery I can think of will allow me to remove the file.
anyone got any ideas? (4 Replies)
Discussion started by: os2mac
4 Replies
10. Shell Programming and Scripting
Hi ALL,
How can I test a given file name exists and if it is a named pipe file in shell script ?
Thanks............ (2 Replies)
Discussion started by: mycode.in
2 Replies
LEARN ABOUT DEBIAN
devel::cover::test
Devel::Cover::Test(3pm) User Contributed Perl Documentation Devel::Cover::Test(3pm)
NAME
Devel::Cover::Test - Internal module for testing
VERSION
version 0.89
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-2012, 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.14.2 2012-06-15 Devel::Cover::Test(3pm)