Hi ,
My requirement is to scan a directory for file names with LTR.PDF*
and send those files via ftp to another server one by one.
Now the the problem is file names are like LTR.PDF ,LTR.PDF1 ,LTR.PDF2.....LTR.PDF10..upto 99
and these needs to be sent in sorted order.
is there a way to get the files in sorted order based on file names in for loop
I would like to arrange /sort filenames ending with suffix like ".00XXXX". where X is a digit. However the order of arrangement is in a text file and is 'harpharzard'. e.g the text file may be like
002345
009807
001145
I wanted to avoid doing this using sql and exporting the text file back to... (4 Replies)
Hi All,
I need to read filenames with space in between in a for loop
like
Integration of utility projects
Integration of hdf projects
I copied these files from a windows system and as you know windows filename has spaces in between them.
But while unix is reading the filename in a for... (12 Replies)
I posted a week ago regarding this scripting question, but I need to revisit and have a few more questions answered..
User cfajohnson was extremely helpful with the archive script, but clarification on my part is needed to help steer the answer in a direction that works in this particular... (5 Replies)
Say i have 2 files in the giving format:
file1
1 2 3 4
1 2 3 4
1 2 3 4
file2
1 2 3 4
1 2 3 4
1 2 3 4
I have a PERL code (loaned by one of u -i forgot who - thanks!) that extracts the 2nd column from each file and append horizontally to a new file:
perl -ane 'push @{$L->}, $F; close... (1 Reply)
Hi,
My Requirement is to read the filenames which possess space charatcer in it and pass the same file name to the other shell script as input parameter.
Please provide your valuable suggestion. (5 Replies)
Hi
I have a requirement like below
I need to sort the files based on the timestamp in the file name and run them in sorted order and then archive all the files which are one day old to temp directory
My files looks like this
PGABOLTXML1D_201108121235.xml... (1 Reply)
Hi All,
A small question:
I have a file check.txt which looks like below:
KRPROD2,2012-11-20 08:46:50:408,ODK3325688102
KRPROD2,2012-11-20 08:47:35:289,ODK3325688102
KRPROD2,2012-11-20 08:47:35:446,ODK3325688102
KRPROD2,2012-11-20 08:48:32:973,ODK3325689120
KRPROD2,2012-11-20... (8 Replies)
I have an interactive script which works terrific at processing a folder of unsorted files into new directories.
I am wondering how I could modify my script so that( upon execution) it provides an additional labelled summary file on my desktop that lists all of the files in each directory that... (4 Replies)
Discussion started by: Braveheart
4 Replies
LEARN ABOUT DEBIAN
text::pdf::page
Text::PDF::Page(3pm) User Contributed Perl Documentation Text::PDF::Page(3pm)NAME
Text::PDF::Page - Represents a PDF page, inherits from Text::PDF::Pages
DESCRIPTION
Represents a page of output in PDF. It also keeps track of the content stream, any resources (such as fonts) being switched, etc.
Page inherits from Pages due to a number of shared methods. They are really structurally quite different.
INSTANCE VARIABLES
A page has various working variables:
curstrm
The currently open stream
METHODS
Text::PDF::Page->new($pdf, $parent, $index)
Creates a new page based on a pages object (perhaps the root object).
The page is also added to the parent at this point, so pages are ordered in a PDF document in the order in which they are created rather
than in the order they are closed.
Only the essential elements in the page dictionary are created here, all others are either optional or can be inherited.
The optional index value indicates the index in the parent list that this page should be inserted (so that new pages need not be appended)
$p->add($str)
Adds the string to the currently active stream for this page. If no stream exists, then one is created and added to the list of streams for
this page.
The slightly cryptic name is an aim to keep it short given the number of times people are likely to have to type it.
$p->ship_out($pdf)
Ships the page out to the given output file context
perl v5.8.8 2006-09-09 Text::PDF::Page(3pm)