12-03-2008
No, they are not always multiples of 36.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I Have to check in a file that all the lines are ending at same posiotin.
Ex : line 1 is ending at position 88
line 2 should at same position i.e 88
Thanks in advance (6 Replies)
Discussion started by: evvander
6 Replies
2. Shell Programming and Scripting
I have file format like below and I'm trying to modify this file.
I need to add 'ENDEND' end of each record.
01 ASH01 1CTCTL EDPPOO STAND
01 ASH08 0020 A1TH 101
01 ASH09 0022 A1TH 102
01 ASH09 0022 A1TH 103
01 ASH02 2CTCTL ... (5 Replies)
Discussion started by: naveenkcl
5 Replies
3. Shell Programming and Scripting
I need a script for...
how to find a position of column data and print some string in the next line and same position
position should find based on *HEADER8* in text
for ex: ord123 abs 123 987HEADER89 test234
ord124 abc 124 987HEADER88 test235
... (1 Reply)
Discussion started by: naveenkcl
1 Replies
4. Shell Programming and Scripting
Hi,
Having a following file's content, lets say:
ABC|ANA|LDJ|||||DKD||||||
AJJ|KKDD||KKDK||||||||||||
KKD||KD|||LLLD||||LLD|||||
Problem:
Need to replace pipes from 8th occurrence of pipe till end.
so the result should be:
ABC|ANA|LDJ|||||DKD
AJJ|KKDD||KKDK||||
-------
-------
... (12 Replies)
Discussion started by: _Noprofi
12 Replies
5. Shell Programming and Scripting
I want to remove text from nth position to nth position couple of times in same line
my line is
"hello is there anyone can help me with this question"
I need like this
ello is there anyone can help me with question
'h' is removed and 'this' removed from the line. I want to do this... (5 Replies)
Discussion started by: elamurugu
5 Replies
6. UNIX for Dummies Questions & Answers
Hi, I have a file1 of many long sequences, each preceded by a unique header line. file2 is 3-columns list: headers name, start position, end position. I'd like to extract the sequence region of file1 specified in file2.
Based on a post elsewhere, I found the code:
awk... (2 Replies)
Discussion started by: pathunkathunk
2 Replies
7. Shell Programming and Scripting
hi guys,
i want command or script to display the content of file from 2nd position to last but one position of a file
abcdefghdasdasdsd
123,345,678,345,323
434,656,656,656,656
678,878,878,989,545
4565656667,65656
i want to display the same above file without first and... (2 Replies)
Discussion started by: hemanthsaikumar
2 Replies
8. Shell Programming and Scripting
Hi,
I have a file with multiple lines(fixed width dat file). I want to search for '02' in the positions 45-46 and if available, in that lines, I need to replace value in position 359 with blank. As I am new to unix, I am not able to figure out how to do this. Can you please help me to achieve... (9 Replies)
Discussion started by: Pradhikshan
9 Replies
9. Shell Programming and Scripting
Hi All,
I wanted a sed/awk command to add a value/character on a particular position without disturbing the position of other characters.
I have file a.txt
OL 10031 Day Black Midi Good Value P01 P07
OL 10031 Day Black Short Good Value P01 P07
I want to get the output as... (2 Replies)
Discussion started by: rahulsk
2 Replies
10. Shell Programming and Scripting
Hi all,
I have a fasta file of a reference sequnce, I will like to retrieve sequences corresponding to a list of start and end position in another file
>my_ref_seq
GCCCTATAAGGGCAGAAGCTTGTCCTTCTTGTGCCAGTTATGACGTTTGTCCTAACTGCACATCTGGTAG... (4 Replies)
Discussion started by: Ibk
4 Replies
LEARN ABOUT REDHAT
pbmtopk
pbmtopk(1) General Commands Manual pbmtopk(1)
NAME
pbmtopk - convert a portable bitmap into a packed (PK) format font
SYNOPSIS
pbmtopk pkfile[.pk] tfmfile[.tfm] resolution [-s designsize] [-p num param...] [-C codingscheme] [-F family] [-f optfile] [-c num] [-W
width] [-H height] [-D depth] [-I ital] [-h horiz] [-v vert] [-x xoff] [-y yoff] [pbmfile]...
DESCRIPTION
Reads portable bitmaps as input, and produces a packed (PK) font file and a TFM (TeX font metric) file as output. The resolution parameter
indicates the resolution of the font, in dots per inch. If the filename "-" is used for any of the filenames, the standard input stream (or
standard output where appropriate) will be used.
OPTIONS
-s designsize
Sets the design size of the font, in TeX's points (72.27pt to the inch). The default design size is 1. The TFM parameters are given
as multiples of the design size.
-p num param...
Sets the first num font parameters for the font. The first seven parameters are the slant, interword spacing, interword space
stretchability, interword space shrinkability, x-height, quad width, and post-sentence extra space of the font. Math and symbol
fonts may have more parameters; see The TeXbook for a list of these. Reasonable default values are chosen for parameters which are
not specified.
-C codingscheme
Sets the coding scheme comment in the TFM file.
-F family
Sets the font family comment in the TFM file.
-f optfile
Reads the file optfile, which should contain a lines of the form:
filename xoff yoff horiz vert width height depth ital
The pbm files specified by the filename parameters are inserted consecutively in the font with the specified attributes. If any of
the attributes are omitted, or replaced with "*", a default value will be calculated from the size of the bitmap. The settings of
the -W, -H, -D, -I, -h, -v, -x, and -y options do not affected characters created in this way. The character number can be changed
by including a line starting with "=", followed by the new number. Lines beginning with "%" or "#" are ignored.
-c num Sets the character number of the next bitmap encountered to num.
-W width
Sets the TFM width of the next character to width (in design size multiples).
-H height
Sets the TFM height of the next character to height (in design size multiples).
-D depth
Sets the TFM depth of the next character to depth (in design size multiples).
-I ital
Sets the italic correction of the next character to ital (in design size multiples).
-h horiz
Sets the horizontal escapement of the next character to horiz (in pixels).
-v vert
Sets the vertical escapement of the next character to vert (in pixels).
-x xoff
Sets the horizontal offset of the next character to xoff (in pixels).
-y yoff
Sets the vertical offset of the next character to yoff (in pixels, from the top row).
SEE ALSO
pktopbm(1), pbm(5)
AUTHOR
Adapted from Tom Rokicki's pxtopk by Angus Duggan <ajcd@dcs.ed.ac.uk>.
6 August 1990 pbmtopk(1)