Sponsored Content
Top Forums Shell Programming and Scripting Recursive header for email body Post 303012404 by mirwasim on Saturday 3rd of February 2018 03:38:38 PM
Old 02-03-2018
Quote:
Originally Posted by Don Cragun
Huh??? Smilie

No. This thread is discussing one topic and your other thread is discussing a different topic. Do not ask us to read another thread to understand the problem you are presenting in this thread. If you are saying this thread is a duplicate of the other thread, I'll be happy to close this thread for you!

You don't specify how a URL is supposed to be shortened in either thread and I'm not very good at making wild guesses about how to meet unspecified requirements.

If you can't explain the rules used to shorten a URL to us in English, we can only guess at what you want to be done. And, I don't see any logical reason why the three URLs:
Code:
http://ad123:2015/see/protected/house.xhtml               
http://ad123:2015/see/protected/Profile.xhtml              
http://ad1234:2015/see/protected/meeting.xhtml

should all be reduced to the single shortened URL:
Code:
http://ad1234:2015/see

And, your other thread with various unspecified text changes between the given input sample and the desired output is even harder to follow. If you're unwilling to explain exactly what transformations are to be performed and only complain that attempts to help you don't meet your constantly changing requirements, how do you expect us to be able to help you?
Dear DON,
you can close this thread, actually this is not duplicate but that thread solution will solve this issue also for me
i will try to put more info in that thread to keep all the information in one place

thanks a lot
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to check body of the email

Dears, i have user called dellsh i hope to make this script when this user recieve email check the budy of the email about (StatusRequest) when i find this email contain this subject run crontab do this job (create file in my home directory called index) thanks for your attention (1 Reply)
Discussion started by: dellsh
1 Replies

2. Shell Programming and Scripting

emailing as body of email

hi all, how do i email a file in the body of an email rather than as an attachment ?? have a ksh script which i need to read a file and email as part of the body rather than an attachment. my code is : uuencode file.log | mailx -s "test" but this sends file as an attachment. ... (2 Replies)
Discussion started by: cesarNZ
2 Replies

3. Shell Programming and Scripting

mailx requirement - email body header in bold and data content in normal text

Dear all- I have a requirement to send an email via email with body content which looks something below- Email body contents -------------------- RequestType: Update DateAcctOpened: 1/5/2010 Note that header information and data content should be normal text.. Please advice on... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

4. Shell Programming and Scripting

The body of the Email -- mailx

Hi, I am using mailx command to send an email and i took the body of the email from a file, mailx -r gtt.org -s "Status Report " ss@org.com < $ProcessStatisticsFile but now i want to declare the body of the email in the command itself. I have tried with the following command but... (4 Replies)
Discussion started by: chinnu01
4 Replies

5. UNIX for Dummies Questions & Answers

Sending email with attachment and body

Hi I want to able to attach a file to a email and send it with a body the body of the email is within the "body" file, and the attachment in "atch" if i send like below it will send the email correctly /usr/sbin/sendmail me@you.com< body And when i send the attachment alone... (3 Replies)
Discussion started by: sridanu
3 Replies

6. Shell Programming and Scripting

Crontab issue: getting email but with out body

I have a oracle sh script test.sh #!/bin/bash R=`sqlplus -S *****/*********@dfsdf <<ENDOFSQL set serveroutput on size unlimited; execute DBMS_SNAPSHOT.REFRESH( '"MIS_ADMIN"."MV_SURVEY_UNITS_CENSUS"','F'); execute DBMS_SNAPSHOT.REFRESH( '"MIS_ADMIN"."MV_SURVEY_UNITS_CENSUS_PART"','F');... (1 Reply)
Discussion started by: ramkia6
1 Replies

7. Shell Programming and Scripting

issue with Email Body

Hi, I have written shell program to send email as below - #!/bin/ksh filename=`ls -ltrh *.Z` echo $filename |mailx -s "FOR TESTING" rahul.b@infotech.net I am getting the email but email body is - -rw-rw-r-- 1 bahulra dba 173M Mar 22 04:37 corphist.txt.Z -rw-rw-r-- 1 bahulra dba 107M... (3 Replies)
Discussion started by: rahulbahulekar
3 Replies

8. Shell Programming and Scripting

awk print the body of an email

I have fetched a couple of emails and stored then in /fetch/mail/oracle.txt, the displayed content is Date: From: Subject: To: Content-Type: ---body ----- --------- Date: From: Subject: To: Content-Type: ----body ----- ------ Date: From: I want to retrieve the body only from... (3 Replies)
Discussion started by: maddog21
3 Replies

9. Shell Programming and Scripting

Sendmail with header and footer logo in HTML body

Hello, I need help with my script that will send email via sendmail command that will shows both the header and footer logo once the recepient receive the email (e.g. MS Outlook). When I tested to ran the script it will successfully send the email BUT UNFORTUNATELY it doesn't displayed the... (8 Replies)
Discussion started by: lawrence88
8 Replies

10. Shell Programming and Scripting

Mutt command email body

Hi Team, While sending the email using the mutt command, mail body not appearing properly and attachment it is showing without line breaks and i used the CSS Style (nowrapper )it is working fine. in this case how to handle the email body, please help me. (1 Reply)
Discussion started by: bmk123
1 Replies
SVNNOTIFY(1p)						User Contributed Perl Documentation					     SVNNOTIFY(1p)

Name
       svnnotify - Subversion activity notification

Usage
	 svnnotify --repos-path "$1" --revision "$2" [options]

Options
	 -p --repos-path PATH	      Path to the Subversion repository. Required.
	 -r --revision REVISION       Commit revision number. Required.
	 -t --to ADDRESS	      The notification destination email address.
				      Required unless --to-regex-map.
	 -x --to-regex-map TO=REGEX   A mapping between a destination email address
				      and a regular expression to match against the
				      directories affected by the commit. Required
				      unless --to or --to-email-map.
	    --to-email-map REGEX=TO   The inverse of --to-regex-map: Map a regular
				      expresion to an email address. Required unless
				      --to or --to-regex-map.
	 -f --from ADDRESS	      Email address to use in the From header.
	 -D --user-domain DOMAIN      Domain name to append to the username to
				      complete the email address in the From header.
	 -l --svnlook SVNLOOK	      Location of the svnlook executable.
	 -s --sendmail SENDMAIL       Location of the sendmail executable.
	 -E --set-sender	      Set the envelope sender to the from address.
	    --smtp ADDRESS	      Address for an SMTP server.
	    --smtp-user USERNAME      Username for authenticating to a SMTP server.
	    --smtp-pass PASSWORD      Password for authenticating to a SMTP server.
	    --smtp-authtype AUTHTYPE  Type of SMTP authentication.
	 -c --encoding ENCODING       The character encoding for reading and writing
				      data.
	    --svn-encoding ENCODING   The character encoding of the log message and
				      the repository files.
	    --diff-encoding ENCODING  The character encoding of the repository files.
	 -g --language LANGUAGE       Value for the Content-Language header and $LANG
				      environment variable.
	 -d --with-diff 	      Include the diff in the message.
	 -a --attach-diff	      Attach the diff to the message.
	 -w --diff-switches SWITCHES  Switches to pass to C<svnlook diff>.
	 -R --reply-to ADDRESS	      Address for use in the Reply-To header.
	    --add-header NAME=VALUE   Add an extra header to the email.
	 -P --subject-prefix PREFIX   String to prepend to the subject.
	 -C --subject-cx	      Include the context of the commit in the
				      subject.
	 -X --strip-cx-regex	      Regex to remove part of the CX file name from
				      the subject.
	 -O --no-first-line	      Do not include the first line of the log
				      message in the subject.
	 -i --max-sub-length LENGTH   Maximum size of the subject line.
	 -e --max-diff-length LENGTH  Maximum size of the diff output.
	 -H --handler HANDLER	      The notification handler, such as "HTML".
	 -F --filter FILTER	      An output filter, such as "Markdown".
	 -A --author-url URL	      Include link to specified author URL.
	 -U --revision-url URL	      Include links to specified Revision URL.
	 -T --rt-url URL	      Include links to specified Request Tracker URL.
	 -B --bugzilla-url URL	      Include links to specified Bugzilla URL.
	 -J --jira-url URL	      Include links to specified JIRA URL.
	 -G --gnats-url URL	      Include links to specified Gnats URL.
	    --ticket-map REGEX=URL    Regex and URL for custom ticket identifiers.
	    --header HEADER	      Text header to display before body.
	    --footer FOOTER	      Text footer to display at end of body.
	 -V --verbose		      Incremental verbose mode.
	 -h --help		      Print this usage statement and exit.
	 -m --man		      Print the complete documentation and exit.
	 -v --version		      Print the version number and exit.

       More options may be supported by the subclass of SVN::Notify specified by the "--handler" option or by filters specified by the "--filter"
       option. Consult the documentation of the relevant modules for details.

See Also
       See SVN::Notify for the complete documentation. If you're having issues with character encodings, see especially the Character Encoding
       Support section.

Author
       David E. Wheeler <david@kineticode.com>

Copyright and License
       Copyright (c) 2004-2009 Kineticode, Inc. Some Rights Reserved.

       This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

perl v5.10.1							    2011-03-15							     SVNNOTIFY(1p)
All times are GMT -4. The time now is 08:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy