...
Bill Adams: ABC Contracting: 11-14-07: 6919408:314-463-2219
Bill Adams: ABC Contracting: 2-22-07: 4109663:314-463-2219
Bill Adams: ABC Contracting: 11-6-07: 6918997:314-463-2219
Steve Leitch: ERB Equipment: 11-6-07: 6918967:314-225-6403
There are thousands of records and I only want the ones from 11-07 and I only want the name and company of the contractor to be displayed once in my output.
Thanks again.
Assuming the same file formation as the one shown above, and filtering is done based on the contractor's name, you can try:
Can anyone give me a hand with some questions by e-mailing me directly, so I can relay the questions inorder. I really would appreciate anyone that can help.
Thank You in advance, I am online and will reply instantly.
Charley
<email removed> (5 Replies)
Using the last, uniq, sort and cut commands, determine how many times the different users have logged in.
I know how to use the last command and cut command...
i came up with last | cut -f1 -d" " | uniq
i dont know if this is right, can someone please help me... thanks (1 Reply)
how to cut for pattern in the file and then count each occurance?
say, each line has unique pattern and u want to grep but at last, you want to see how many of them occur?
say,
cut -d'\" -f15 filename | sort -? or.. do i need to use sed or something..
i need to count lets say
how... (5 Replies)
Hi All,
I have a small problem, hope you can help me out here.
I have a file that contains the same format of lines in 99% of the cases.
906516 XYZ.NNN V 0000 20070711164648 userID1 userID2 hostname 20070711164641
There are unfortunately several lines with these... (5 Replies)
I have the following requirement.
1. I have to concatenate the 10 fixed width files.
2. sort based on first 10 characters
3. after that i have remove first 10 chacters from the file.
can you please tell me how to do it.
Thanks in Advance
Samba (1 Reply)
<B>andan100:Anders:Andersson:800101-1234:TNCCC_1:TDDB46 TDDB80:berbe101:Bertil:Bertilsson:800102-1234:TNCCC_1:TDDB46 TDDB80:The top is how it looks right now I want it t look
like this under and I want it to be sorted. I have tried with cut -f -d studenter.txt and so on but it still doesnt work... (2 Replies)
Please help.
I have a file containing rows of information. The row needs to be broken down into blocks of 5 and then sorted.
Example:
10381
1042010046 ... (4 Replies)
While looping through a file, I am cutting different length of characters (based on their length) like columns and want to produce the output in a separate file with different columns being separated by a comma.
How to achieve this with an online command. I don't want to create multiple variables... (8 Replies)
Hi,
I have identified how to use command chaining as per below on a file, to capture the header of a file, as well as the line containing the C: drive.
$ cat test.txt
Filesystem Size Used Avail Use% Mounted on
rootfs 237G 153G 84G 65% /
none 237G 153G 84G ... (6 Replies)
Discussion started by: sand1234
6 Replies
LEARN ABOUT DEBIAN
gp2c
GP2C(1) PARI GP2C(1)NAME
GP2C - The GP to C compiler
DESCRIPTION
gp2c [-ghfltvydWSTGV] [-i N] [-o <file>] [-p <prefix>] [file.gp]
gp2c is a program that translate GP code to C code that use the libpari library. It tries to generate code looking like the PARI source
code.
user option:
-o <file> : Place output in file <file>.
-g : Generate automatic garbage collection code.
-iN: Set indentation level to N spaces (default 2).
-W : Output information about global variables.
-p <prefix>: Prefix user-defined symbol by <prefix> to avoid conflict.
-s <suffix>: Add suffix <suffix> to GP install names of functions.
-S: Assume strict declarations for functions.
query options:
-h : This help.
-f : Dump information about functions to stderr.
-l : Output the list of functions known to the compiler.
-t : Output the table of types known to the compiler.
-v : Output version information and exit.
debugging options:
-d : Increase debugging level.
-y : Switch parser to debug mode.
-T : Output syntactic tree in treetool format.
-TT : Output syntactic tree in VCG/GRL format.
-G : Generate GP code in place of C code. Don't smile.
-V : Do not clean up variables.
file.gp: file to be processed, default to stdin. The generated C code is output to stdout unless option -o is used.
See the script gp2c-run for an automated compilation process.
COPYING
Copyright 2000-2005 The PARI Group
GP2C is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for GP2C.
AUTHOR
Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
SEE ALSO gp2c-run(1), gp2c-dbg(1), gp(1), gcc(1)GP to C compiler January 2005 GP2C(1)