Hi
I am using mailx to send email and am wondering if there is a way I can send the email from a different user than the user logged in.
something like do-not-reply@xyz.com
Thank you. (1 Reply)
I am having trouble figuring this code
I want to grep a text from a file and if it match certain text it break out of the loop or it should continue searching for the text
Here is what I have written but it isn't working
while true
f=`grep 'END OF STATUS REPORT' filename`
do
if ... (9 Replies)
Hello all, I created the below script....and it seemed to be working fine. My problem is i want the script to ignore rest of the things if my condition is not met but do not exit....
#!/bin/ksh
###########################
###########################
# Set name of the listener, this... (2 Replies)
All,
I wrote the following section of code (which logically in PHP would of worked):
tmpPATH=${1}
tmpTAG=${2}
if
then
while read tmpTAG tmpPATH
do
fi
echo $tmpTAG
echo $tmpPATH
if
then
done < ./config.cfg
fi (4 Replies)
only wc -l greater than 0 then send email to owner, otherwise do nothing.
ie.
result=powermt display dev=all|awk '{print $7}'|grep -i dead|wc -l
if
then
echo $result
else
:
fi
mailx -s "there is dead path (s)" "mymail@mydomain.com"
-----------
it is not working... (2 Replies)
Hello everyone,
I am trying to create function or script to send email from an address book file.
Here is the file format i have,
Susan:Miller:M:123 Main Street:Philadelphia:PA:17101:666-645-6666:Susan.Miller@gmail.com:07/12/1979 Robert:Langan:S:32 North Avenue:San... (5 Replies)
I created a bash script that gets a file formats it, sends an email to the user(s), however, for whatever reason, it will send an email per line with all of the lines in it, so essentially the user will get 10 duplicate emails with the same 10 results. I've modified the script to put the results of... (2 Replies)
Hi All,
Seeking for your assistance to get the records once the $2 met the condition.
Ex. file 1.txt
123455,10-Aug-2020 07:33:37 AM,2335235,1323534,12343
123232,11-Aug-2015 08:33:37 PM,4234324,1321432,34364
Output:
123455,10-Aug-2020 07:33:37 AM,2335235,1323534,12343
What i did... (5 Replies)
Hi All,
Seeking for your assistance on how to append the specific string when $3 condion met.
ex. file1.txt
ar0050046b16,5,888,0,0,0,0.00,0.00,0.00,0.00,25689.55
ar0050046b16,5,0,0,0,0,0.00,0.00,0.00,0.00,25689.55
ar0050046b16,5,0,0,0,0,0.00,0.00,0.00,0.00,25689.55
expected output:... (5 Replies)
I have a file.txt containing the following:
Query= HWI-ST863:386:C5Y8UACXX:3:2302:16454:89688 1:N:0:ACACGAAT
Length=100
Score E
Sequences producing significant alignments: (Bits) Value
... (2 Replies)
Discussion started by: tons92
2 Replies
LEARN ABOUT DEBIAN
jifty::request::mapper
Jifty::Request::Mapper(3pm) User Contributed Perl Documentation Jifty::Request::Mapper(3pm)NAME
Jifty::Request::Mapper - Maps response values into arbitrary query parameters
DESCRIPTION
"Jifty::Request::Mapper" is used to insert values into parameters that you can't know when you originally constructed the request. The
prime example of this is a Create action to a View page -- where you can't know what ID to supply to the View page until after the Create
action has run. This problem can be fixed by establishing a mapping between some part of the Jifty::Result of the Create action, and the
ID query parameter.
METHODS
query_parameters HASH
Extended syntax for generating query parameters. This is used by Jifty::Web::Form::Clickable for its "parameters" argument, as well as for
"results" of continuations.
Possible formats for each key => value pair in the "HASH" are:
"KEY => STRING"
The simplest form -- the "KEY" will have the literal value of the "STRING" supplied
"KEY => { result => ACTION }"
The "KEY" will take on the value of the content named "KEY" from the result of the "ACTION". "ACTION" may either be a Jifty::Action
object, or a moniker thereof.
"KEY => { result => ACTION, name => STRING }"
The "KEY" will take on the value of the content named "STRING" from the result of the "ACTION". "ACTION" may either be a Jifty::Action
object, or a moniker thereof.
"KEY => { request_argument => STRING }"
The "KEY" will take on the value of the argument named "STRING" from the request.
"KEY => { argument => ACTION }"
The "KEY" will take on the value of the argument named "KEY" from the "ACTION". "ACTION" may either be a Jifty::Action object, or a
moniker thereof.
"KEY => { argument => ACTION. name => STRING }"
The "KEY" will take on the value of the argument named "STRING" from the "ACTION". "ACTION" may either be a Jifty::Action object, or a
moniker thereof.
"result_of" and "argument_to" are valid synonyms for "result" and "argument", above.
map PARAMHASH
Responsible for doing the actual mapping that "query_parameters" above sets up. That is, takes magical query parameters and extracts the
values they were meant to have.
destination
The "key" from a query parameter
source
The "value" of a query parameter
request
The Jifty::Request object to pull action arguments from. Defaults to the current request.
response
The Jifty::Response object to pull results from. Defaults to the current response.
Returns a key => value pair.
perl v5.14.2 2010-12-08 Jifty::Request::Mapper(3pm)