12-21-2003
>> Am I wrong to assume all files have an EOF?
Yes, you are.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how to find the chid process id from given parent process id.... (the chid process doesnot have sub processes inturn) (3 Replies)
Discussion started by: guhas
3 Replies
2. Solaris
Hi,
I need to find which processes are hogging the cpu up. please advise.
Thanks (1 Reply)
Discussion started by: 0ktalmagik
1 Replies
3. AIX
hello
I have a process ID and i want to known what files are use with this process.
fuser give to me the process with a file...i search a similar command but the reverse: to know the files with a process
thank you (1 Reply)
Discussion started by: pascalbout
1 Replies
4. Shell Programming and Scripting
Hi,
I'm need to determine if a file contains the EOF character, how can I do that in Shell scripting?
Regards. (1 Reply)
Discussion started by: jfortes
1 Replies
5. Programming
I have a scenario where I need to find if a process is a daemon process or not. This check needs to be done from within the process. I know there are no direct API's to do so. I have explored these options.
1. ctermid() - this can be unsuccessful as per the man pages
2. int devtty; if ((devtty... (7 Replies)
Discussion started by: vino
7 Replies
6. Shell Programming and Scripting
Hi friends ,
I am confused with << EOF
EOF
Most of the cases I found
sqlplus $db_conn_str << EOF
some sql staments
EOF
another exapmle is
#!/bin/sh
echo -n 'what is the value? '
read value
sed 's/XXX/'$value'/' <<EOF
The value is XXX
EOF (1 Reply)
Discussion started by: imipsita.rath
1 Replies
7. Solaris
Hi All,
Heres a little background. We have essbase installed on a solaris server. We are running a report script. The script starts and runs ok..
1. after some time if i do the ps -ef i can see the process, and it generally completes successfully.
2. Most of the times, when i do the ps with... (2 Replies)
Discussion started by: noufalshaw
2 Replies
8. Programming
Hi:
I have a program written in FORTRAN running on AIX platform.
It is because missing of documentation and without root password, therefore we want to modify the program so that we can find out which script/program that call this FORTRAN program.
I have google for few days, all of them are... (3 Replies)
Discussion started by: cstsang
3 Replies
9. Shell Programming and Scripting
// AIX 6.1
What I am trying to accomplish is to display the user name and the last login date and time in one line:
for usrlist in $(cat alluser.txt)
do
$usrlist
perl -e 'print scalar localtime `lsuser -a time_last_login $usrlist | awk -F '=' '{print $2}'`'
done
However, it... (8 Replies)
Discussion started by: Daniel Gate
8 Replies
10. Shell Programming and Scripting
Hello,
I'm running Stockfish chess engine ( Home - Stockfish - Open Source Chess Engine ) CLI on Linux in interactive mode which is working fine.
root@ubuntu1950x:~# ./stockfish
Stockfish 080218 64 POPCNT by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
setoption name Debug Log File... (2 Replies)
Discussion started by: prvnrk
2 Replies
LEARN ABOUT DEBIAN
cam::pdf::gs
CAM::PDF::GS(3pm) User Contributed Perl Documentation CAM::PDF::GS(3pm)
NAME
CAM::PDF::GS - PDF graphic state
LICENSE
See CAM::PDF.
SYNOPSIS
use CAM::PDF;
my $pdf = CAM::PDF->new($filename);
my $contentTree = $pdf->getPageContentTree(4);
my $gs = $contentTree->computeGS();
DESCRIPTION
This class is used to represent the graphic state at a point in the rendering flow of a PDF page. Much of the functionality is actually
based in the parent class, CAM::PDF::GS::NoText.
Subclasses that want to do something useful with text should override the renderText() method.
CONVERSION FUNCTIONS
$self->getCoords($node)
Computes device coordinates for the specified node. This implementation handles text-printing nodes, and hands all other types to the
superclass.
$self->textToUser($x, $y)
Convert text coordinates ("Tm") to user coordinates. Returns the converted X and Y.
$self->textToDevice($x, $y)
Convert text coordinates ("Tm") to device coordinates. Returns the converted X and Y.
$self->textLineToUser($x, $y)
Convert text coordinates ("Tlm") to user coordinates. Returns the converted X and Y.
$self->textLineToDevice($x, $y)
Convert text coordinates ("Tlm") to device coordinates. Returns the converted X and Y.
$self->renderText($string, $width)
A general method for rendering strings, from "Tj" or "TJ". This is a no-op, but subclasses may override.
$self->Tadvance($width)
Move the text cursor.
DATA FUNCTIONS
$self->BT()
$self->Tf($fontname, $fontsize)
$self->Tstar()
$self->Tz($scale)
$self->Td($x, $y)
$self->TD($x, $y)
$self->Tj($string)
$self->TJ($arrayref)
$self->quote($string)
$self->doublequote($tw, $tc, $string)
$self->Tm($m1, $m2, $m3, $m4, $m5, $m6)
AUTHOR
See CAM::PDF
perl v5.14.2 2012-07-08 CAM::PDF::GS(3pm)