08-02-2008
off by one page number
my page numbers are at the bottom of each page .... therefore when i run the code .. i am off by one page number...for eg keyword is on page 1 but out shows as page 2......Any suggestions....I am working at my end here as well... Cheers
C.Smith
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
I am looking for a shell script which recursively searches all the files under all the directories for a pattern specified in the script. For e.g., i am looking forward to search for the file names which contains numbers of the form 001*****.
Thanks in advance,
Naik (4 Replies)
Discussion started by: ynaik002
4 Replies
2. UNIX for Advanced & Expert Users
Afternoon guys,
I have 2 files, 1.txt and 2.txt containing employee numbers.
the 1st file (1.txt) is an extract from sybase with active employee numbers, the 2nd (2.txt) is a scan from the sybase log containing successfull logins *** which i have already mined and now contains only employee... (5 Replies)
Discussion started by: Jefferson333
5 Replies
3. Shell Programming and Scripting
File 1
#################################################################
pma.zcal.iop_pma_zcal_cntl (2710.080 115.200)
pma.lanea23.rx0.cntl (696.960 844.800)
pma.lanea67.rx0.cntl (1733.760 844.800)
pma.zcal.iop_pma_zcal_cust (2280.960 115.200)... (1 Reply)
Discussion started by: jaita
1 Replies
4. Shell Programming and Scripting
dear all,
i have file with format like this
file_master.txt
20110212|231213|rio|apri|23112|222222
20110212|312311|jaka|dino|31223|543234
20110301|343322|alfan|budi|32131|333311
...
i want filter with output like this
index_nm.txt
rio|apri
jaka|dino
...
index_years.txt
20110212... (7 Replies)
Discussion started by: zvtral
7 Replies
5. Shell Programming and Scripting
Hello All,
I have data like this in a column.
0
1
2
3
0
3
4
5
6
0
1
2
3
etc. where 0 identifies the start of a pattern in my data.
So I need the output like below using either awk/sed.
0 1 (2 Replies)
Discussion started by: ks_reddy
2 Replies
6. Shell Programming and Scripting
Hi,
I am getting scheduler log file on daily basis from windows box which contains job status and corresponding date, date is in windows format.
I wanted to write one script which will search the pattern (Exit code) for the today's date and if code is Zero then Job Success message should be... (14 Replies)
Discussion started by: ajju
14 Replies
7. Shell Programming and Scripting
Hi Friends,
I am in search of unix command which can search a particular pattern in all files which are created/modified today ONLY. Which is the best way to achieve this?
Thanks in advance. (1 Reply)
Discussion started by: Nakul_sh
1 Replies
8. Shell Programming and Scripting
#!/usr/bin/ksh
a="Run successfully"
cd $APPS
ls -l *.txt | while read $txt
do
if then
cp $APPS/$txt cp $hist/$txt
else
rm $APPS/$txt
echo "Files has been removed"
fi
done
New in shell script please help me out
Around 100 txt files in $APPS dir i want to search pattern from... (8 Replies)
Discussion started by: Kalia
8 Replies
9. UNIX for Beginners Questions & Answers
I have this fileA
TEST FILE ABC
this file contains ABC;
TEST FILE DGHT this file contains DGHT;
TEST FILE 123
this file contains ABC,
this file contains DEF,
this file contains XYZ,
this file contains KLM
;
I want to have a fileZ that has only (begin search pattern for will be... (2 Replies)
Discussion started by: vbabz
2 Replies
LEARN ABOUT HPUX
psselect
PSSELECT(1) General Commands Manual PSSELECT(1)
NAME
psselect - select pages from a PostScript file
SYNOPSIS
psselect [ -q ] [ -e ] [ -o ] [ -r ] [ -ppages ] [ pages ] [ infile [ outfile ] ]
DESCRIPTION
Psselect selects pages from a PostScript document, creating a new PostScript file. The input PostScript file should follow the Adobe Docu-
ment Structuring Conventions.
The -e option selects all of the even pages; it may be used in conjunction with the other page selection options to select the even pages
from a range of pages.
The -o option selects all of the odd pages; it may be used in conjunction with the other page selection options.
The -ppages option specifies the pages which are to be selected. Pages is a comma separated list of page ranges, each of which may be a
page number, or a page range of the form first-last. If first is omitted, the first page is assumed, and if last is omitted, the last page
is assumed.
The prefix character `_' indicates that the page number is relative to the end of the document, counting backwards. If just this character
with no page number is used, a blank page will be inserted.
The -r option causes psselect to output the selected pages in reverse order.
Psselect normally prints the page numbers of the pages rearranged; the -q option suppresses this.
If any of the -r, -e, or -o options are specified, the page range must be given with the -p option. This is for backwards compatibility
with previous versions.
NOTES
The page number given to psselect is the number of the page counting from the start or end of the file, starting at one. The actual page
number in the document may be different.
AUTHOR
Copyright (C) Angus J. C. Duggan 1991-1995
SEE ALSO
psbook(1), psselect(1), pstops(1), epsffit(1), psnup(1), psresize(1), psmerge(1), fixscribeps(1), getafm(1), fixdlsrps(1), fixfmps(1), fix-
psditps(1), fixpspps(1), fixtpps(1), fixwfwps(1), fixwpps(1), fixwwps(1), extractres(1), includeres(1), showchar(1)
TRADEMARKS
PostScript is a trademark of Adobe Systems Incorporated.
BUGS
Psselect does not accept all DSC comments.
PSUtils Release 1 Patchlevel 17 PSSELECT(1)