I am new to this forum. I have a script which randomly throws error.Following are steps followed in this script:
Generate Term file
Remove previous term and rpt files from utility directory.
copy term file to utility directory
call sql to generate rpt file using term file as input
copy the generated rpt file from run directory to utility directory.
I get error from sql as :
This happens when term file is not present in utility directory when sql is called.
Code snippet is shown below. Please ignore the syntax error, if any.
After script runs, if we check utility directory we can find term file
This error occurs randomly. Is there any chance system takes more time to copy the Term file to Utility directory and before completing the copy command, sql started running?
Moderator's Comments:
Thread moved. Please post in the correct forum ...
Good Day
I mistakely renamed the dld.sl file in the /usr/lib directory. When i try to ls/ftp into the box i get this error :eek:
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002
I have tried to rename it back from the renamed file to the original file name, but it gives me the... (2 Replies)
Command works but not in SH
At terminal if i type:
scp test.tar.gz user1@server2:/home/user
Everything run smoothly (keyed, no password need)
At script , test.sh
#!/bin/sh
scp test.tar.gz user1@server2:/home/user
Nothing happen and clue ? ? ? ? ? (3 Replies)
at command does not work with graphic programs like firefox, evolution, etc
It works with other commands
for example:
at now
shutdown -h now
OK
but
at now
firefox
does not work
Anyone knows if its possible to open a firefox window at a scheduled time?
Thanks
Jose (0 Replies)
I am trying to copy a folder which contains a list of C executables.
It takes 2 mins for completion,where as the entire script takes only 3 more minutes for other process.
Is there a way to copy the folder faster so that the performance of the script will improve? (2 Replies)
How can we copy a command string from a previous command line and paste it into the cursor position on the current command line? I know that ^c will not work as the shell will interpret as an interrupt signal.
Thanks, (1 Reply)
Hi
I have a problem with scp command :
I try to copy a list of files from source to destination, it works fine but if there is a directory not existing on destination, it doesn't automatic create.
Syntax :
scp -rp /<PATH>/<NEW_DIR>/<FILE> <USER_DEST>@<HOST_DEST>:<PATH>/<NEW_DIR>/<FILE>... (5 Replies)
need help, trying make a command where the user presses any keys and it will go to the home page, however it doesnt work, why ?
echo -p "press any key to return to main menu" menu
if ]; then
echo -p "\n"
home
fi (5 Replies)
Hi,
I want to copy a file/directory ( recursively , if needed) and if destination directory does not exist create it ( with parent directory, if needed).
funcopy () {
if ; then
echo "$2 exists , copying files"
cp -r "$1" "$2"
else
echo "Directory does not exist;Create directory"
mkdir... (1 Reply)
Hello.
I have a question as to why my grep command does not seem to be working.
grep -c '^?*' ~
grep -c '^.*' ~
I wanted to count the number of files starting with the letter K and have some letters after that. I have such files in my home directory. However, the output is 0. So, I have no... (2 Replies)
I want copy Files:
But cp don't work:
shell_exec("cp ".$pfad." ".$genzone);
shell_exec("cp ../Chrysanthemum.jpg ../test");
Whats wrong? (3 Replies)
Discussion started by: Linuxmann
3 Replies
LEARN ABOUT MOJAVE
mail::spf::term5.18
Mail::SPF::Term(3) User Contributed Perl Documentation Mail::SPF::Term(3)NAME
Mail::SPF::Term - SPF record term class
DESCRIPTION
An object of class Mail::SPF::Term represents a term within an SPF record. Mail::SPF::Term cannot be instantiated directly. Create an
instance of a concrete sub-class instead.
Constructor
The following constructor is provided:
new(%options): returns Mail::SPF::Term
Abstract. Creates a new SPF record term object.
%options is a list of key/value pairs, however Mail::SPF::Term itself specifies no constructor options.
new_from_string($text, %options): returns Mail::SPF::Term; throws Mail::SPF::ENothingToParse, Mail::SPF::EInvalidTerm
Abstract. Creates a new SPF record term object by parsing the string and any options given.
Class methods
The following class methods are provided:
name_pattern: returns Regexp
Returns a regular expression that matches any legal name for an SPF record term.
Instance methods
The following instance methods are provided:
text: returns string; throws Mail::SPF::ENoUnparsedText
Returns the unparsed text of the term. Throws a Mail::SPF::ENoUnparsedText exception if the term was created synthetically instead of
being parsed, and no text was provided.
name: returns string
Abstract. Returns the name of the term.
SEE ALSO
Mail::SPF, Mail::SPF::Record, Mail::SPF::Mech, Mail::SPF::Mod
<http://tools.ietf.org/html/rfc4408>
For availability, support, and license information, see the README file included with Mail::SPF.
AUTHORS
Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>
perl v5.18.2 2017-10-06 Mail::SPF::Term(3)