06-10-2009
What output should you get from the example above?
10 More Discussions You Might Find Interesting
1. Programming
This gives :
after calling it twice:
how can i solve this so that on output i get : (8 Replies)
Discussion started by: C|[anti-trust]
8 Replies
2. Shell Programming and Scripting
I have the following problem. The file contains many lines already sorted according to their first arguments. Some of these first arguments are repetitive. For each first argument value, I need to keep the first and the last line that contain it. For example,
...
1 234
1 348
...
...
5 483... (2 Replies)
Discussion started by: jijibabawu
2 Replies
3. UNIX for Dummies Questions & Answers
Hi everyone,
I have a file in which a word is repeated more than one time and I want to know how many times it is repeated.
ex: if i repeated word 'guru' in 10 lines I can get the o/p as:
cat filename | grep -c 'guru'.
How ever if the word is repeated more than one time, then how can I... (4 Replies)
Discussion started by: gurukottur
4 Replies
4. Shell Programming and Scripting
I have a list like this:
todu
todo
tofe
tafo
I want to grep only the lines where the 2nd and the 4th character are the same.
In this case I would get only "todo".
Thanks. (3 Replies)
Discussion started by: rlopes
3 Replies
5. Shell Programming and Scripting
I have a text file where I need to find the string = ST*850*
This string is repetaed several times in the file, so I need to know how many times it appears in the file, this is the text files:
ISA*00* *00* *08*925485USNR *ZZ*IMSALADDERSP... (13 Replies)
Discussion started by: cucosss
13 Replies
6. Shell Programming and Scripting
Hi below is the input file, i need to find repeated words and sum up the values of it which is second field from the repeated work.Im trying but getting no where close to it.Kindly give me a hint on how to go about it
Input
fruits,apple,20,fruits,mango,20,veg,carrot,12,veg,raddish,30... (11 Replies)
Discussion started by: 100bees
11 Replies
7. Shell Programming and Scripting
Hi all
if i want to get the 3 lines of the most repeated lines here
tony,1,x
tony,1,x
tony,2,x
tony,2,x
tony,3,x
tony,4,x
tony,5,x
adam,1,y
to get output
tony,1,x
tony,2,x
tony3,x
adam,1,y (3 Replies)
Discussion started by: teefa
3 Replies
8. Shell Programming and Scripting
Hi all ,
i want to get the most repeated column in my file
File:
name,ID
adam,12345 ----1
adam,12345 ----2
adam,934
adam,12345 ----3
john,14
john,13
john,25 ----1
john,25 ----2
tom,1 -----1
tom,2 -----1
so my output to be (5 Replies)
Discussion started by: teefa
5 Replies
9. UNIX for Dummies Questions & Answers
I have a requirement where I have to read the lines between a repeated string
FileName: abc.txt
ls /data/abc.txt
1
2
#ZENCO
3
4
5
6
#ZENCO
11
213
454
7
#ZENCO (8 Replies)
Discussion started by: eskay
8 Replies
10. UNIX for Beginners Questions & Answers
+ 8.00747 /NodeList/0/DeviceList/0/$ns3::PointToPointNetDevice/TxQueue/Enqueue ns3::PppHeader (Point-to-Point Protocol: IP (0x0021)) ns3::Ipv4Header (tos 0x0 DSCP Default ECN Not-ECT ttl 63 id 0 protocol 17 offset (bytes) 0 flags length: 540 10.1.3.3 > 10.1.2.4) ns3::UdpHeader (length: 520 49153 >... (11 Replies)
Discussion started by: Nipa
11 Replies
T1MAC(1) General Commands Manual T1MAC(1)
NAME
t1mac - translate a PFA or PFB PostScript Type 1 font into Macintosh format
SYNOPSIS
t1mac [--macbinary | --applesingle | --appledouble | --binhex | --raw] [--filename name] [input [output]]
DESCRIPTION
t1mac reads a PFA (hexadecimal) or PFB (binary) PostScript Type 1 font file and generates an equivalent Macintosh Type 1 font file. The
output file can be in MacBinary II, AppleSingle, AppleDouble, or BinHex format, or it can be a raw resource fork. The default is MacBinary
II; use an option to choose a different format. If the output file is not specified output goes to the standard output.
WARNING: The output of t1mac is not sufficient to use the font, since Macintoshes can't read raw Type 1 fonts. You will need to create a
font suitcase containing bitmap fonts if you do not have such a suitcase for the font already. t1mac cannot help you do this.
OPTIONS
--raw, -r
Indicates that output should be a raw resource fork.
--macbinary
Indicates that output should be in MacBinary I or II format. This is the default.
--applesingle
Indicates that output should be in AppleSingle format.
--appledouble
Indicates that output should be in AppleDouble format.
--binhex
Indicates that output should be in BinHex 4.0 format.
--filename=name, -n name
Sets the Macintosh filename of the output font to name. The default is to construct the filename from the font's name using estab-
lished Macintosh conventions. This option is not useful when output is a raw resource fork.
SEE ALSO
t1unmac(1), t1ascii(1), t1binary(1), t1asm(1), t1disasm(1)
AUTHORS
Eddie Kohler (ekohler@gmail.com)
Version 1.37 T1MAC(1)