So as per your input, you want to retrieve the lines, which has < or > 150 | delimiters, not equal to 150. If am not wrong, this may help you.
In the above file, line which has number of 'a|' has totally 150 |.
The line which has number of 'b|' has totally 160 |.
so it should not retrieve a| line.
Hi,
is it possible to write files via write() to a socket and read it on the other side via read(), without going through buffers? Iif not via write() and read() are there other possibilities?
thanks
darkspace (5 Replies)
Hello all
I wander of there is small utility that gives me the possibility to download direct links to specific folder
say if i have http://www.blah.com/foo.java and I like to download the foo.java without opening the browser and such... (2 Replies)
For example:
File 1:
abc def ghi
jkl mno pqr
File 2:
stu vwx yza
bcd efg hij
klm nop qrs
I want the reult to be:
abc def ghistu vwx yza
jkl mno pqrbcd efg hij
klm nop qrs (4 Replies)
Hello UNIX experts,
I have 124 text files in a directory. I want to extract the 45678th line of all the files sequentialy by file names. The extracted lines should be printed in the output file on seperate lines.
e.g. The input Files are one.txt, two.txt, three.txt, four.txt
The cat of four... (1 Reply)
Hi All,
I have three separate text files which has only one line and i want to combine these lines in one text file which will have three lines.
cat file1.txt
abc
cat file2.txt
1265 6589 1367
cat file3.txt
0.98 0.36 0.5
So, I want to see these three lines in the... (9 Replies)
I have two files:
file-gene_families.txt that contains 30,000 rows of 30 columns. Column 1 is the ID column and contains the
Col1 Col2 Col3 ...
One gene-encoded CBPs ABC 111 ...
One gene-encoded CBPs ABC 222 ...
One gene-encoded CBPs ABC 212 ...
Two gene encoded CBPs EFC... (7 Replies)
Hi guys,
been scratching round the forums and my mountain of resources.
Maybe I havn't read deep enough
My question is not how sed edits a stream and outputs it to a file, rather something like this below:
I have a .txt with some text in it :rolleyes:
abc:123:xyz
123:abc:987... (7 Replies)
Hello all,
i have a code in which when doing a for loop, i need to direct the output to two files, one just a single output, the other to always append (historical reasons).
So far i managed to do the following, which is working, but am still considering it as "dirty".
... (4 Replies)
Hi,
A beginner one.
my input.tab (tab-separated):
h1 h2 h3 h4 h5
item1 grpA 2 3 customer1
item2 grpB 4 6 customer1
item3 grpA 5 9 customer1
item4 grpA 0 0 customer2
item5 grpA 9 1 customer2
objective:
output a file for each customer ($5) with the item number ($1) only if $2 matches... (2 Replies)
Discussion started by: beca123456
2 Replies
LEARN ABOUT REDHAT
pbmtextps
pbmtextps(1) General Commands Manual pbmtextps(1)NAME
pbmtextps - render text into a bitmap via postscript
SYNOPSIS
pbmtextps [-font fontfile] [-fontsize fontsize] [-resolution resolution] [-stroke strokesize] [-verbose [text]
DESCRIPTION
pbmtextps takes a single line of text from the command line and renders it into a PBM image.
The image is cropped at the top and the right. It is not cropped at the left or bottom so that the text begins at the same position rela-
tive to the origin. You can use pnmcrop to crop it all the way.
OPTIONS -font By default, pbmtextps uses TimesRoman. You can specify the font to use with the -font option. This is the name of any valid post-
script font which is installed on your system.
-fontsize
Size of font in points. See the -resolution option for information on how to interpret this size.
Default is 24 points.
-resolution
Resolution in dots per inch of distance measurements pertaining to generation of the image. PBM images don't have any inherent reso-
lution, so a distance such as "1 inch" doesn't mean anything unless you separately specify what resolution you're talking about.
That's what this option does.
In particular, the meaning of the font size is determined by this resolution. If the font size is 24 points and the resolution is
150 dpi, then the font size is 50 pixels.
Default is 150 dpi.
-stroke
Width of line to use for stroke font. There is no default stroke width because the letters are solid by default.
USAGE
See pbmtext for usage examples.
SEE ALSO pbmtext(1), pnmcut(1), pnmcrop(1), pnmcomp(1), ppmchange(1), pnmrotate(1), ppmlabel(1), pbm(5)AUTHOR
Copyright (C) 2002 by James McCann
02 January 2003 pbmtextps(1)