This is sending escape sequences to the printer. What I also would like to do is filter out certain pages. I only want the contant between two markers. Start Marker=1Q2Q3Q4Q, End Marker=5Q6Q7Q8Q. I also need the actual line that the marker is printing on, minus the marker, however, keeping the integrity of all the positions on that line.
Thanks in advance!
Last edited by Yogesh Sawant; 04-04-2008 at 02:40 PM..
Reason: added code tags
Hi all
This is my output of the some SQL Query
TABLESPACE_NAME FILE_NAME TOTALSPACE FREESPACE USEDSPACE Free
------------------------- ------------------------------------------------------- ---------- --------- ---------... (2 Replies)
Hi,
I need to filter and store the files ends with log extension in the array and need to write the file names in the array to a file.
I need to use array to derive this solution. Please help me out.
Thanks (2 Replies)
Hi to all,
Some help please, I want to modify using awk the print showed by command "ls -l -R" from:
/home/user1/Mydocs/Year/2010/July/Experiments:
total 1608
-rw-r--r-- 1 user1 user1 1431 Feb 2 22:45 Experiments1.TAR
-rw-r--r-- 1 user1 user1 923 Feb 2 22:45 Tests_Exp1.TXT... (4 Replies)
Dear all,
I am using awk to filter some data like this:-
awk 'NR==FNR{a;next}($1 in a)' FS=":" filter.dat data.dat >! out.dat where the filter and input data look like this:-
filter.dat...
n_o00j_1900_40_007195350_0:n_o00j_1940_40_007308526... (3 Replies)
I want it not print hello2,but for now it print, how could I do,not I want if exit 8 then exit to the whole shell, and don't want to move "exit" from the {}
#!/bin/sh
start_test()
{
{
echo "hello1"
exit 8
} |tee -a qqq
echo... (3 Replies)
Currently, I have a print filter that takes a text file, that convert it into PCL which then gets to a HP printer. This works.
Now I need to embedded a image file within the text file.
I'm able to convert the image file into PCL and I can cat both files together to into a single document... (1 Reply)
Hi Folks,
I have a text file with lots of rows with duplicates in the first column, i want to filter out records based on filter columns in a different filter text file.
bash scripting is what i need.
Data.txt
Name OrderID Quantity
Sam 123 300
Jay 342 498
Kev 78 2500
Sam 420 50
Vic 10... (3 Replies)
Discussion started by: tech_frk
3 Replies
LEARN ABOUT MINIX
replmarks
REPLMARKS(1) General Commands Manual REPLMARKS(1)NAME
replmarks - replace triangular markers in a RADIANCE scene description
SYNOPSIS
replmarks [ -e ][ -m newmod ][ -s scale ] { -x objfile | -i octree | -I mesh } modname .. [ file .. ]
DESCRIPTION
Replmarks replaces triangular markers identified by the modifier modname in each scene description file and writes the result to the stan-
dard output. The -x option indicates that each marker should be replaced by an appropriate xform(1) command on objfile. The -i option
indicates that each marker should be replaced by an instance of octree. The -I option indicates that each marker should be replaced by an
instance of the Radiance mesh mesh. One of these three options must appear on the command line, along with modname, the modifier used by
markers in the file.
Multiple modifiers may be given, as long as each one is preceded by its own -x or -i option.
The transformation for each marker is determined by its location and orientation. A marker should be a right triangle pointing like a
half-arrow in the direction of the transformed x-axis, x'. The longest side is the hypoteneuse, the second longest side is the x'-axis,
and the third longest side indicates the direction of the y'-axis. Any additional sides will be ignored (ie. a quadrilateral may be used
instead of a triangle if the extra side is small). The z'-axis is determined by the cross product of the x' and y' axes, and the origin is
the common vertex between x' and y'.
The size of the marker is ignored unless the -s option is used, where scale is a multiplier for the x'-axis length to indicate the total
scale factor. For example, a scale value of 5 with a marker length of .5 would result in a total scale factor of 2.5 to be used in the
transformation.
The -e option causes commands in the file to be expanded, and is required to replace markers from commands in the input file. Even with
this option, replmarks will not examine objects for markers. Specifically, an object included by replmarks as a result of a -x expansion
will be transferred verbatim, without regard to any surfaces therein that might have been considered as marks if they were on the main
input.
The -m option causes all replaced objects to be given the modifier newmod. Otherwise, the new object surfaces will use their originally
defined modifiers. A different replacement modifier may be given for each marker type. The marker modifier name itself is only used to
identify markers, and will not appear in the output in any form.
If no input file is given, the standard input is read.
EXAMPLE
To replace all polygons with the modifier ``knobs'' in the file input with a transformed ``knob.rad'' and write the result to output:
replmarks -x knob.rad knobs input > output
To use instances of ``tree.oct'' with scaling set to three times the tree marker length:
replmarks -s 3 -i tree.oct tree input > output
AUTHOR
Greg Ward
SEE ALSO arch2rad(1), ies2rad(1), xform(1)RADIANCE 3/24/94 REPLMARKS(1)