03-10-2016
hi ,
sorry i modified the input and output.
group is the code values like 345,346...
i have the input file format constant as stated above but i need to combine and need to get the total as shown in outputfile
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
does a command exist to add users to more than one group?
i think the usermod command can do this but i'm not really sure. past ways of me doing this has always been to just hack the /etc/group file and put the user in whatever group i need him to be in. however, vi..ing files like /etc/groups... (2 Replies)
Discussion started by: Terrible
2 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
How can I add few existing groups into a group?
eg. Currently, I have
- projgrp1 for proj1 with members proj1usr1, proj1usr2, proj1usr3..proj1usr10
- projgrp2 for proj2 with members proj2usr1, proj2usr2
- projgrp3 for proj3 wiht members proj3usr1, proj3usr3
Now, I would like to... (3 Replies)
Discussion started by: tifmils
3 Replies
3. Shell Programming and Scripting
Hi,
Need awk help to group and print lines to format the output as shown below
INPUT FORMAT
set echo on
set heading on
set spool on
/* SCHEMA1 */ CREATE TABLE T1;
/* SCHEMA1 */ CREATE TABLE T2;
/* SCHEMA1 */ CREATE TABLE T3;
/* SCHEMA1 */ CREATE TABLE T4;
/* SCHEMA1 */ CREATE TABLE T5;... (5 Replies)
Discussion started by: rajan_san
5 Replies
4. Shell Programming and Scripting
Hi
I have a file in this format:
...
04/May/2009 16
04/May/2009 1
05/May/2009 3
05/May/2009 5
06/May/2009 1
06/May/2009 3
...
I need to sum for every day, What is the best way?
Thanks all (2 Replies)
Discussion started by: mutti
2 Replies
5. Shell Programming and Scripting
I have a file in the following format. Groups of data merge together and the group number is indicated above each group.
1
adrf
dfgr
dfg
2
dfgr
dfgr
3
dfef
dfr
fd
4
fgrt
fgr
fgg
5
fgrt
fgr (3 Replies)
Discussion started by: Lucky Ali
3 Replies
6. Shell Programming and Scripting
Hi All
I do have a file like this with 6 columns. Groups of data merge together and the group number is indicated above each group.
1
1 12 26 289 3.2e-027 GCGTATGGCGGC
2 12 26 215 6.7e+006 TTCCACCTTTTG
3 9 26 175 ... (1 Reply)
Discussion started by: Lucky Ali
1 Replies
7. Shell Programming and Scripting
Hi All,
I have a file in the following format...
*****************************************************
11/10/27 12:09 : Input Record 11/10/27 12:10 : Input Record 11/10/27 12:10 : Input Record 11/10/27 12:10 : Input Record 11/10/27 12:10 : Input Record 11/10/27 12:10 : Input... (2 Replies)
Discussion started by: sraj142
2 Replies
8. Shell Programming and Scripting
This is what I was trying but failed to do so need help.
cat 1.sql | awk '{printf("%s",NR%4 ? $0",":$0"\n")}'
Output :-
I want to add 2 more values for each line (hostname,user name) so the output should have hostname & username (testsrv01,test1)
Output should be like... (4 Replies)
Discussion started by: lazydev
4 Replies
9. Shell Programming and Scripting
hi all i need to add the prinf statement in awk command for the converted comma separated output....
below is my code :
Code Credits :RudiC
awk -F, 'NF==2 {next}
{ITM=$1
AMT=$2+0
CNT=$3+0
TOTA+=$2
... (4 Replies)
Discussion started by: hemanthsaikumar
4 Replies
10. UNIX for Beginners Questions & Answers
Hello,
Can someone please share a Simple AWK command to append Carriage Return & Line Feed to the end of the file, If the Carriage Return & Line Feed does not exist !
Thanks (16 Replies)
Discussion started by: rosebud123
16 Replies
Ac3d Compiler(6) Games Ac3d Compiler(6)
NAME
accc - Ac3d Compiler
SYNTAX
accc [option] <inputfile> <outputfile> [dist][-order orderstring]
DESCRIPTION
This manual describes the Ac3d compiler application that is shipped with the game TORCS.
OPTIONS
-strip stripify any ac3d output models
+o ac3d to ac3d: the result file is optimized in using groups by zone of track track must be named TKMNxxx dist is used to determine
the distance of the objects
+om ac3d to ac3d: the result is a vertex merged unique obj for smooth car only
-o ac3d to obj +s ac3d to ac3d with strips (used for cars)
+es <angle_of_smooth>
ac3d to ac3d with strips (used for cars) and extended ac3d file output (computed normals) angle is in degrees: example: +es 80.0
clkdtm_o.ac clkdtm.ac the output file will also contains the secondary textcoord for the env sliding
+et ac3d to ac3d with triangles (used for cars) and extended ac3d file output (normals normals)
+etn ac3d to ac3d with triangles no split and extended ac3d file output (normals normals)
+shad ac3d to ac3d with triangles, create a new ac3d file used for track shading vertical mapping of a single texture
<inputfile>
<outputfile>
-order orderstring
only used with +es , +s and +et orderstring is the order of the objects during the save for example: HB;OB;OBM is the names of the
objet separate by a semicolon for imported NFS cars the object name HB must be used instead of: HB
-g <outputfile>
for grouping multilayer ac3d track
-l0 <input filename>
the base geometry
-l1 <input filename>
the base geometry map-tiled
-l2 <input filename>
the base geometry skids/and grass details
-l3 <input filename>
the base geometry shadows
-d3 <val>
the max distance of groups in tkmn
-d2 <val>
the distance of group 2 in tkmn
-d1 <val>
the distance of group 1 in tkmn
-S <val>
the distance of splitting for TERRAIN* objects
-es for extended ac3d file format for strips
-nts no texture split (for debug)
SEE ALSO
torcs(6)
AUTHOR
This manual page was writen by Rudy Godoy <rudy@stone-head.org>, for the Debian GNU/Linux system (but may be used by others).
Rudy Godoy 1.4 Ac3d Compiler(6)