03-12-2011
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am a new user to UNIX. We are currently running an application called DISC (www.disclink.com) on UNIX, and I am trying to figure out how to redirect print output to a PC printer. There is one little problem: DISC apparently has its own OS that is sitting on top of the UNIX OS, so you cannot... (1 Reply)
Discussion started by: BlueSpider
1 Replies
2. Programming
How to redirect the contents of a file to a command?
The contents of the file are the arguments necessary for the command.
thx in advance.
bye
svh (5 Replies)
Discussion started by: svh
5 Replies
3. Shell Programming and Scripting
I am trying to create the file and redirect the output in the same command line which is line 4 in the below program.
#!/bin/bash
read -p "Enter File Name:" value1
echo "Your File Name is $value1"
sed 's/abcd/'$value1'/g' abcd_calls > $value1_calls
This is the error it generates
... (3 Replies)
Discussion started by: learnbash
3 Replies
4. Shell Programming and Scripting
Hi All
I have written the following script:
#!/bin/ksh
while read cmdline
do
echo `$cmdline`
pid="$cmdline"
done<commands.txt
===========
commands.txt contains:
ps -ef | grep abc | grep xyz |awk '{print $2};
My objective is to store the o/p of the command in a variable and do... (8 Replies)
Discussion started by: rahulparo
8 Replies
5. Shell Programming and Scripting
Hi,
I've been using the following commands in my automated scripts, to ensure that all text output is sent to a log file instead of to the screen:
exec 1>>$SCRIPT_LOG_FILE
exec 2>>$SCRIPT_LOG_FILE
However, I've now discovered that the system used for automating the script executions... (4 Replies)
Discussion started by: confusedAdmin
4 Replies
6. Shell Programming and Scripting
I have a problem when i try to create a log file from a daemon process using shell scripting in ubuntu 12. Ultimatly what i want to achieve is run a java/jar file from a script. After scourging the internet i found several solutions to do this, the one i choose is to create a startup script that... (4 Replies)
Discussion started by: Narev
4 Replies
7. Shell Programming and Scripting
(7 Replies)
Discussion started by: krupasindhu18
7 Replies
8. Programming
Hi, I am complete new to C programming and shell scripting. I just wrote a simple C code to calculate integral using trapezoid rule. I am prompting user to pass me No. of equally spaced points , N , upper and lower limit. My code looks as follows so far:
#include<stdio.h>
#include<string.h>... (2 Replies)
Discussion started by: bjhjh
2 Replies
LEARN ABOUT SUSE
mail::spf::mod::redirect
Mail::SPF::Mod::Redirect(3) User Contributed Perl Documentation Mail::SPF::Mod::Redirect(3)
NAME
Mail::SPF::Mod::Redirect - SPF record "redirect" modifier class
DESCRIPTION
An object of class Mail::SPF::Mod::Redirect represents an SPF record modifier of type "redirect".
Constructors
The following constructors are provided:
new(%options): returns Mail::SPF::Mod::Redirect
Creates a new SPF record "redirect" modifier object.
%options is a list of key/value pairs representing any of the following options:
domain_spec
See "new" in Mail::SPF::Mod.
new_from_string($text, %options): returns Mail::SPF::Mod::Redirect; throws Mail::SPF::ENothingToParse, Mail::SPF::EInvalidMod
Creates a new SPF record "redirect" modifier object by parsing the string and any options given.
Class methods
The following class methods are provided:
name: returns string
Returns 'redirect'.
name_pattern: returns Regexp
Returns a regular expression that matches a modifier name of 'redirect'.
precedence: returns real
Returns a precedence value of 0.8. See "precedence" in Mail::SPF::Mod.
Instance methods
The following instance methods are provided:
params
See "params" in Mail::SPF::Mod.
domain_spec: returns Mail::SPF::MacroString
Returns the "domain-spec" parameter of the modifier.
process($server, $request, $result): throws Mail::SPF::Result
If no mechanism matched during the evaluation of the current SPF record, performs a recursive SPF check using the given SPF server and
request objects and substituting the modifier's target domain name for the request's authority domain. The result of the recursive SPF
check is then thrown as the result of the current record's evaluation. However, if the target domain has no acceptable SPF record, a
"permerror" result is thrown. See RFC 4408, 6.1, for details.
See Mail::SPF::Mod for other supported instance methods.
SEE ALSO
Mail::SPF, Mail::SPF::Mod, Mail::SPF::Term, Mail::SPF::Record
<http://www.ietf.org/rfc/rfc4408.txt>
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.12.1 2010-07-05 Mail::SPF::Mod::Redirect(3)