07-30-2010
hello
okay found in the directory called model.orig
hp4015 and the option is -o tl088
thank you very much for your help
regards
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can some body tell me how to print number of line from a particular file, with sed. ?
Input file format
AAAA
BBBB
CCCC
SDFFF
DDDD
DDDD
Command to print line 2 and 3 ?
BBBB
CCCC
And also please tell me how to assign column sum to variable.
I user the following command it... (1 Reply)
Discussion started by: maheshsri
1 Replies
2. Shell Programming and Scripting
Hi,
I need help in printing out the dates with the largest value in front of it using awk.
436 28/Feb/2008
436 27/Feb/2008
436 20/Feb/2008
422 13/Feb/2008
420 23/Feb/2008
409 21/Feb/2008
402 26/Feb/2008
381 22/Feb/2008
374 24/Feb/2008
360... (7 Replies)
Discussion started by: SIFA
7 Replies
3. Shell Programming and Scripting
Hello all,
How can I find the lowest number every 10 lines? For example i have a list
name1
-0.1
name2
2
name3
3
name4
-3
name5
1
name6
2
name7
34
name8
34 (6 Replies)
Discussion started by: TheTransporter
6 Replies
4. Shell Programming and Scripting
Hi,
Anyone help me to print the lines from the flat file between 879th line number and 1424th line number.
The 879 and 1424 should be passed as input to the shell script(It should be dynamic).
Can any one give me using sed or awk?
I tried using read, and print the lines..Its taking too... (3 Replies)
Discussion started by: senthil_is
3 Replies
5. Shell Programming and Scripting
Hello
My problem is that I want to change some specific numbers in a file. It is like,
2009 10 3 2349 21.3 L 40.719 27.388 10.8 FRO 7 0.8 1.1LFRO 2.6CFRO 1.1LMAM1
GAP=157 1.69 5.7 5.9 5.8 0.5405E+01 0.4455E+00 0.1653E+02E
STAT SP IPHASW D HRMM SECON CODA AMPLIT... (11 Replies)
Discussion started by: miriammiriam
11 Replies
6. Shell Programming and Scripting
Hello guys,
I am a beginner in Unix :wall: and was wondering if anyone could help me.
I need a script that prints lines that only has Z-value lower than equals to (<=) 1.0e-02. Each column is seperated by a tab.
10009.fd Z-value = 3.62843e-03
10009.fd Z-value = 9.75489e-01... (3 Replies)
Discussion started by: narachaid
3 Replies
7. Shell Programming and Scripting
Hi,
I have a file like below.
1,2,3,4,5,6,7,8,9I would like to print or copied to a file based of line count in perl
If I gave a condition 1 to 3 then it should iterate over above file and print 1 to 3 and then again 1 to 3 etc.
output should be
1,2,3
4,5,6
7,8,9 (10 Replies)
Discussion started by: Anjan1
10 Replies
8. Shell Programming and Scripting
Hi ,
My record file , need to print up to above (DATA array)(there may be n no lines ) , grep "myvalue" row now .....suggest me some options
--- DATA Array---
record type xxxxx
sequence type yyyyy
2
3---> data1
/dev/
--- DEVICE ---
MAXIMUM_People=
data_blocks=
MY_value=2
xyz
abc ... (0 Replies)
Discussion started by: Huvan
0 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I have attached an output file which is some kind of database file mapping. It is basically like an allocation mapping of a tablespace and its datafile/s.
The output is generated by the SQL script that I found from 401 Authorization Required
Excerpts of the file are as below:
... (2 Replies)
Discussion started by: newbie_01
2 Replies
10. UNIX for Beginners Questions & Answers
I have a directory of files, I can show the number of lines in each file and order them from lowest to highest with:
wc -l *|sort
15263 Image.txt
16401 reference.txt
40459 richtexteditor.txt
How can I also print the number of unique lines in each file?
15263 1401 Image.txt
16401... (15 Replies)
Discussion started by: spacegoose
15 Replies
PDFBLUR(1) General Commands Manual PDFBLUR(1)
NAME
pdfblur - generate views for depth-of-field blurring
SYNOPSIS
pdfblur aperture nsamp viewfile
DESCRIPTION
Pdfblur takes the given viewfile and computes nsamp views based on an aperture diameter of aperture (in world coordinate units) and a focal
distance equal to the length of the -vd view direction vector. When rendered and averaged together, these views will result in a picture
with the specified depth of field. Either pinterp(1) or rpict(1) may be called to do the actual work. (The given viewfile must also be
passed on the command line to the chosen renderer, since pdfblur provides supplemental view specifications only.)
For pinterp, feed the output of pdfblur to the standard input of pinterp and apply the -B option to blur views together. In most cases, a
single picture with z-buffer is all that is required to get a satisfactory result, though the perfectionist may wish to apply three pic-
tures arranged in a triangle about the aperature, or alternatively apply the -ff option together with the -fr option of pinterp. (The lat-
ter may actually work out to be faster, since rendering three views takes three times as long as a single view, and the -fr option will end
up recomputing relatively few pixels by comparison.)
To use pdfblur with rpict, apply the -S option to indicate a rendering sequence, and set the -o option with a formatted file name to save
multiple output pictures. When all the renderings are finished, combine them with the pcomb(1) program, using appropriate scalefactors to
achieve an average. Note that using rpict is MUCH more expensive than using pinterp, and it is only recommended if the scene and applica-
tion absolutely demand it (e.g. there is prominent refraction that must be modeled accurately).
For both pinterp and rpict, the computation time will be proportional to the number of views from pdfblur. We have found a nsamp setting
somewhere between 5 and 10 to be adequate for most images. Relatively larger values are appropriate for larger aperatures.
The -pd option of rpict may be used instead or in combination with or instead of pdfblur to blur depth-of-field. If used in combination,
it is best to set the -pd option to the overall aperture divided by nsamp to minimize ghosting in the output.
To simulate a particular camera's aperture, divide the focal length of the lens by the f-number, then convert to the corresponding world
coordinate units. For example, if you wish to simulate a 50mm lens at f/2.0 in a scene modeled in meters, then you divide 50mm by 2.0 to
get 25mm, which corresponds to an effective aperture of 0.025 meters.
EXAMPLES
To use pinterp to simulate an aperture of 0.5 inches on a lens focused at a distance of 57 inches:
rpict -vf myview -x 640 -y 480 -z orig.zbf scene.oct > orig.hdr
pdfblur 0.5 57 8 orig.hdr | pinterp -B -vf orig.hdr -x 640 -y 480 orig.hdr orig.zbf > blurry.hdr
To use rpict exclusively to do the same:
pdfblur .5 57 5 myview | rpict -S 1 -vf myview -x 640 -y 480 -o view%d.hdr scene.oct
pcomb -s .2 view1.hdr -s .2 view2.hdr -s .2 view3.hdr -s .2 view4.hdr -s .2 view5.hdr > blurry.hdr
AUTHOR
Greg Ward
BUGS
This program really only works with perspective views.
SEE ALSO
pcomb(1), pinterp(1), pmblur(1), pmdblur(1), rcalc(1), rpict(1), vwright(1)
RADIANCE
1/24/96 PDFBLUR(1)