I have a little script below:
No matter what I give $regex on the command line, it will only print to FOUT the first 3 line of F. Can anyone tell me what I do wrong here. I want to print out all lines matches whatever I give $regex on the command line.
Appreciate any help,
New bie
Last edited by jim mcnamara; 11-17-2010 at 10:07 PM..
Reason: please learn about code tags
Dear Experts,
I have file called file1 in which i am greping a pattern after that i want to next 3 lines when that pattern is matched.
Ex:- file1
USA
UK
India
Africa
Hello
Asia
Europe
Australia
Hello
Peter
Robert
Jo
i want to next 3 lines after matching Hello... (12 Replies)
Hi folks
I am not allowed to install GNU grep on AIX.
Here my code excerpt:
grep_fatal () {
/usr/sfw/bin/gegrep -B4 -A2 "FATAL|QUEUE|SIGHUP"
}
Howto the same on AIX based machine?
from manual GNU grep
‘--after-context=num’
Print num lines of trailing context after... (4 Replies)
Hi,
I have two comma separated files. I would like to see field 1 value of File1 exact match in field 2 of File2. If the value matches, then it should print matched lines from File2. I have achieved the results using cut, paste and egrep -f but I would like to use awk as it is efficient way and... (7 Replies)
Hi Guys,
I have file like below, I want to print all lines between test1231233 to its 10 occurrence(till line 41)
test1231233
qwe
qwe
qweq123
test1231233
qwe
qwe
qweq23
test1231233
qwe
qwe
qweq123
test1231233
qwe
qwe
qweq123131 (3 Replies)
Hello,
I have two files file 1 and file 2 each having result of a query on certain database tables and need to compare for Col1 in file1 with Col3 in file2, compare Col2 with Col4 and output the value of Col1 from File1 which is a) not present in Col3 of File2 b) value of Col2 is different from... (2 Replies)
Hi all,
I want to search for strings in file1 that can be found in file2 and print out the whole line when matching pattern is found.
I have used the below command, but this is not working for me, because it is writing out only the matching patterns from file2, not the whole line.
fgrep -o... (2 Replies)
would like to print everything after matching two patterns AAA and BBB.
output :
CCC
ZZZ
sample data :
AAA
BBB
CCC
ZZZ (4 Replies)
Discussion started by: jhonnyrip
4 Replies
LEARN ABOUT DEBIAN
stereo3d
STEREO3D(1) General Commands Manual STEREO3D(1)NAME
stereo3d - render a Raster3D scene as a side-by-side stereo pair
SYNOPSIS
stereo3d [options] [-png [outfile.png ]] < infile.r3d > outfile.png
stereo3d [options] -tiff [outfile.tiff] < infile.r3d > outfile.tiff
stereo3d is a shell script that renders a single Raster3D input file as a side-by-side stereo pair.
stereo3d uses the Raster3D utilities normal3d and render, and the ImageMagick image processing package. Intermediate scratch files are
created in directory TMPDIR, if defined, otherwise in /usr/tmp.
The right eye and left eye views are separately rendered, optionally given black borders, and merged to form a single side-by-side stereo
pair.
Input is from stdin, output is to stdout unless a filename is given as an argument to the -png or -tiff options.
EXAMPLES
If the following line would render a single image:
render -tiff single.tiff < input.r3d
then the following line would render the same scene as a stereo pair instead:
stereo3d -tiff stereo.tiff < input.r3d
OPTIONS
The options below are specific to stereo3d. All other options, e.g. -labels or -gamma 1.2 are passed through to the render program.
-angsep
By default the stereo effect is generated by a shear operation. The -angsep option creates stereo by using angular separation instead.
Neither option is perfect: the default handles shadows badly, and the -angsep option blurs specular highlights.
-border
By default the left and right images are placed next to each other with no intervening space and no frame around them. The -border option
requests a 4 pixel wide black border separating and surrounding the component images.
SOURCE
web URL:
http://www.bmsc.washington.edu/raster3d/raster3d.html
contact:
Ethan A Merritt
University of Washington, Seattle WA 98195
merritt@u.washington.edu
SEE ALSO
normal3d(l), render(l), raster3d(l)
AUTHORS
Ethan A Merritt.
Raster3D 19 Dec 2010 STEREO3D(1)