9 More Discussions You Might Find Interesting
1. Red Hat
Have no idea on what the below error message is:
Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist.
Any help? (3 Replies)
Discussion started by: gull05
3 Replies
2. UNIX for Dummies Questions & Answers
I want to test if script.sh is being run with nohup ... but $0 does not contain nohup part...
purpose: script.sh should only be ran with nohup if user forgets nohup then it should echo "run with nohup" && exit....... (2 Replies)
Discussion started by: holyearth
2 Replies
3. Shell Programming and Scripting
HI,
I have a file serverlist in that all host names are placed.
i have written a small script
#./testping
#! /bin/bash
for i in `cat serverlist`
do
ping $i >> output.txt
done
so now it creates a file output.txt till here fine..
now each time i run this script the output file... (4 Replies)
Discussion started by: madhudeva
4 Replies
4. Shell Programming and Scripting
Dear Members,
I have a table in Oracle DB and one of its column name is INFO which has data in text format which we need to fetch in a script and create an xml file of a new table from the input.
The contents of a single cell of INFO column is like:
Area:app - aam
Clean Up Criteria:... (0 Replies)
Discussion started by: Yoodit
0 Replies
5. Shell Programming and Scripting
Hi, I have written a script and placed in an application and the script can be executed manually only. But somehow one of the method in the script is being called and bringing the application down. But we are not able to find any instance of script running.
Is there a way to findout whether the... (1 Reply)
Discussion started by: Satyak
1 Replies
6. UNIX for Advanced & Expert Users
I have made some code changes in the corresponding java file for date formatting purpose so that it supports upgraded sybase version from 12.6 to 12.7 and have build the code and deployed using the following UNIX commands.
ant build
ant deploy.
"ant build" executes the build.xml which is... (1 Reply)
Discussion started by: vmpcit
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a script that finds the application logs from the previous day and sends it to another server via ftp.
The code is something like this:
yest_date=`TZ=CST+24 date "+%b %d"`
logdir=/app/logs
logs=app*.log
tmpdir=/tmp
cd $logdir
for i in `ls -1 $logs`
do
chkstr=`ls -1l $i | grep... (2 Replies)
Discussion started by: tatchel
2 Replies
8. Shell Programming and Scripting
I have an xml file:
<AutoData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Table1>
<Data1 10 </Data1>
<Data2 20 </Data2>
<Data3 40 </Data3>
<Table1>
</AutoData>
and I have to remove the portion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" only.
I tried using sed... (10 Replies)
Discussion started by: Gary1978
10 Replies
9. Shell Programming and Scripting
Hi all,
I am not sure whether this is the right place to ask this question...:)
I am working in Informatica PowerCenter 8.1.1 tool and my server is on UNIX. I have got a shell script to copy files from one folder to another.
When I run the script directly from UNIX prompt it is taking 60... (0 Replies)
Discussion started by: sam99
0 Replies
PDF::API2::Annotation(3pm) User Contributed Perl Documentation PDF::API2::Annotation(3pm)
NAME
PDF::API2::Annotation - annotation management
METHODS
$ant = PDF::API2::Annotation->new
Returns a annotation object (called from $page->annotation).
$ant->link $page, %opts
Defines the annotation as launch-page with page $page and options %opts (-rect, -border or 'dest-options').
$ant->url $url, %opts
Defines the annotation as launch-url with url $url and options %opts (-rect and/or -border).
$ant->file $file, %opts
Defines the annotation as launch-file with filepath $file and options %opts (-rect and/or -border).
$ant->pdfile $pdfile, $pagenum, %opts
Defines the annotation as pdf-file with filepath $pdfile, $pagenum and options %opts (same as dest).
$ant->text $text, %opts
Defines the annotation as textnote with content $text and options %opts (-rect and/or -open).
$ant->movie $file, $contentype, %opts
Defines the annotation as a movie from $file with $contentype and options %opts (-rect).
$ant->rect $llx, $lly, $urx, $ury
Sets the rectangle of the annotation.
$ant->border @b
Sets the border-styles of the annotation, if applicable.
$ant->content @lines
Sets the text-content of the annotation, if applicable.
$ant->open $bool
Display the annotation either open or closed, if applicable.
$ant->dest( $page, -fit => 1 )
Display the page designated by page, with its contents magnified just enough to fit the entire page within the window both horizontally
and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the
page within the window in the other dimension.
$ant->dest( $page, -fith => $top )
Display the page designated by page, with the vertical coordinate top positioned at the top edge of the window and the contents of the
page magnified just enough to fit the entire width of the page within the window.
$ant->dest( $page, -fitv => $left )
Display the page designated by page, with the horizontal coordinate left positioned at the left edge of the window and the contents of
the page magnified just enough to fit the entire height of the page within the window.
$ant->dest( $page, -fitr => [ $left, $bottom, $right, $top ] )
Display the page designated by page, with its contents magnified just enough to fit the rectangle specified by the coordinates left,
bottom, right, and top entirely within the window both horizontally and vertically. If the required horizontal and vertical
magnification factors are different, use the smaller of the two, centering the rectangle within the window in the other dimension.
$ant->dest( $page, -fitb => 1 )
(PDF 1.1) Display the page designated by page, with its contents magnified just enough to fit its bounding box entirely within the
window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller
of the two, centering the bounding box within the window in the other dimension.
$ant->dest( $page, -fitbh => $top )
(PDF 1.1) Display the page designated by page, with the vertical coordinate top positioned at the top edge of the window and the
contents of the page magnified just enough to fit the entire width of its bounding box within the window.
$ant->dest( $page, -fitbv => $left )
(PDF 1.1) Display the page designated by page, with the horizontal coordinate left positioned at the left edge of the window and the
contents of the page magnified just enough to fit the entire height of its bounding box within the window.
$ant->dest( $page, -xyz => [ $left, $top, $zoom ] )
Display the page designated by page, with the coordinates (left, top) positioned at the top-left corner of the window and the contents
of the page magnified by the factor zoom. A zero(0) value for any of the parameters left, top, or zoom specifies that the current
value of that parameter is to be retained unchanged.
$ant->dest( $name )
(PDF 1.2) Connect the Annotation to a "Named Destination" defined elswere.
AUTHOR
Alfred Reibenschuh
perl v5.14.2 2014-03-09 PDF::API2::Annotation(3pm)