05-02-2013
Shell Script to Dynamically Extract file content based on Parameters from a pdf file
Hi Guru's,
I am new to shell scripting. I have a unique requirement:
The system generates a single pdf(/tmp/ABC.pdf) file with Invoices for Multiple Customers, the format is something like this:
Page1 >> Customer 1 >>Invoice1 + invoice 2 >> Page1 end
Page2 >> Customer 2 >>Invoice 3 + Invoice 4 >> Continue to Page3 >> page3 End
I have to email Individual Statements to these customers individually based on the customer number/Email Address coming in the file.
Using Shell script how can i achieve this?
Thanks in Advance.
Regards,
Dips
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
OK, best is I explain what the operating enviroment is.
Linux, but Motomagx. It is a Linux operated mobile phone, Motorola V8.
I am writting a shell script, but got stuck.
I have to delete the complete content of file 1 in file 2.
I have attached the 2 files.
You can see that the content of... (2 Replies)
Discussion started by: rasputin007
2 Replies
2. Shell Programming and Scripting
Hi,
I am calling a sql file script.sql from shell script and passing few parameters also as shown below:
sqlplus -S id/password @script.sql $param1 $param2
Now,In sql file I have to create a extract text file after querying oracle tables based on the parameters passed(param1,param2) as... (7 Replies)
Discussion started by: anil029
7 Replies
3. Shell Programming and Scripting
Hi to all,
I got this content/pattern from file http.log.20110808.gz
mail1 httpd: Account Notice: close igchung@abc.com 2011/8/7 7:37:36 0:00:03 0 0 1
mail1 httpd: Account Information: login sastria9@abc.com proxy sid=gFp4DLm5HnU
mail1 httpd: Account Notice: close sastria9@abc.com... (16 Replies)
Discussion started by: Mr_47
16 Replies
4. Shell Programming and Scripting
I have a LOG file which looks like this
Import started at: Mon Jul 23 02:13:01 EDT 2012
Initialization completed in 2.146 seconds.
--------------------------------------------------------------------------------
--
Import summary for Import item: PolicyInformation... (8 Replies)
Discussion started by: biztank
8 Replies
5. Shell Programming and Scripting
Hi
I am looking for a help in designing a bash script on linux which can do below:-
1) Look in a specific directory for any new files
2) Mail the content of the new file
Appreciate any help
Regards
Neha (5 Replies)
Discussion started by: neha0785
5 Replies
6. Shell Programming and Scripting
Hi All,
Is it possible to convert the excel file to PDF file(Without loosing any format) using unix shell scripting ??? If yes
Kindly help me on the code
Thanks in advance!!! (5 Replies)
Discussion started by: Balasankar
5 Replies
7. UNIX for Dummies Questions & Answers
Hi Guys,
I am new to shell script.I need your help to write a shell script.
I need to write a shell script to extract data from a .csv file where columns are ',' separated.
The file has 5 columns having values say column 1,column 2.....column 5 as below along with their valuesm.... (1 Reply)
Discussion started by: Vivekit82
1 Replies
8. Shell Programming and Scripting
In here we have a script to extract all pdf links from a single page.. any idea's in how make this read instead of a page a list of pages.. and extract all pdf links ?
#!/bin/bash
# NAME: pdflinkextractor
# AUTHOR: Glutanimate (http://askubuntu.com/users/81372/), 2013
#... (1 Reply)
Discussion started by: danielldf
1 Replies
9. Shell Programming and Scripting
Hi All,
I have a script which intends to create as many variables at runtime, as the number of parameters passed to it. The script needs to save these parameter values in the variables created and print them
abc.sh
----------
export Numbr_Parms=$#
export a=1
while
do
export... (3 Replies)
Discussion started by: dev.devil.1983
3 Replies
10. Shell Programming and Scripting
I have below 2 requirements for parameterize the generate the extract file from Oracle table using Shell Script. Could you please help me by
modifying the script and show me how to execute it.
First Requirement:
I have a requirement where I need to parameterize to generate one... (0 Replies)
Discussion started by: hareshvikram
0 Replies
LEARN ABOUT DEBIAN
xmlroff
XMLROFF(1) XMLROFF(1)
NAME
xmlroff - XSL formatter
SYNOPSIS
xmlroff [-o output-file] [--format {auto | pdf | postscript}] [--backend {gp | cairo}] [--continue] [-? | --help] [--compat | --nocompat]
[--compat-stylesheet] [--valid | --novalid] [-v | --version] [-w warning-mode] [-d debug-mode] file [stylesheet]
DESCRIPTION
xmlroff is a free, fast and high-quality XSL formatter that is useful for DocBook formatting. It produces PDF or PostScript output. It in-
tegrates easily with other programs and with scripting languages.
xmlroff processes the XML-FO file. An arbitrary XML file can optionally be first transformed via a specified XSLT stylesheet.
OPTIONS
-v Show version information.
-?, --help
Show help message.
-o output-file
Specify output filename. If this option is not specified, a default of layout.pdf will be used.
-d debug-mode
Specify debug mode.
-w warning-mode
Specify warning mode.
--format {auto | pdf | postscript}
Specify format of the output file. The default is auto which selects the format based on the extension of the output filename.
--backend {gp | cairo}
Specify backend used to produce the output file. The default is GNOME print (gp).
--compat, --nocompat
Do or do not pre-processes the input file with an internal compatibility stylesheet. Default is --compat.
--compat-stylesheet
Prints the internal compatibility stylesheet then exits.
--continue
Continue after any formatting errors.
--valid, --novalid
Do or do not load the DTD. Default is --novalid.
REPORTING BUGS
Report bugs at http://xmlroff.org/newticket: http://xmlroff.org/newticket.
SEE ALSO
xsltproc(1)
AUTHOR
Tony Graham
XMLROFF(1)