04-24-2012
Quote:
Originally Posted by
ksatish89
I am interested in learning unix. So I am doing self learning. Not a pro
Ok, but you can't learn something without putting in any effort...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Original file we are getting .......
Item Period Amt
P1 106 1000
P1 206 1500
P1 106 2000
P2 256 5800
P2 650 7500
My output should be like this
Item 106 206 256 650 ............
P1 1000 1500 0 ... (1 Reply)
Discussion started by: dprakash
1 Replies
2. Shell Programming and Scripting
----File attached.
Input file
===========
COL_1 <IP Add 1>
COL_2 <Service1>
COL_3 <ABCDEFG>
COL_4 <IP ADD:PORT>
COL_4 <IP ADD:PORT>
COL_1 <IP Add 2>
COL_2 <Service2>
COL_2 <Service3>
COL_2 <Service4>
COL_3 <AAAABBB>
COL_4 <IP ADD:PORT>
COL_4 <IP ADD:PORT>
COL_4 <IP... (27 Replies)
Discussion started by: bluethunder
27 Replies
3. Shell Programming and Scripting
I have a file like the one given below
P1|V1|V2
P1|V1|V3
P1V1|V2
P2|V1|V4
P2|V2|V6
P2|V1|V4
I want it convert to
P1|V1|V2|V2|V3
P2|V1|V4|V2|V6
2nd and 3rd column should be considered as together and so the tird row is duplicate
Any ideas? (3 Replies)
Discussion started by: prasperl
3 Replies
4. Shell Programming and Scripting
I'm working on a different stage of a project that someone helped me address elsewhere in these threads.
The .docs I'm cycling through look roughly like this:
1 of 26 DOCUMENTS
Copyright 2010 The Age Company Limited
All Rights Reserved
The Age (Melbourne, Australia)
November 27, 2010... (9 Replies)
Discussion started by: spindoctor
9 Replies
5. Shell Programming and Scripting
I have 1000s of these rows that I would like to transpose to columns. However I would like the transpose every 3 consecutive rows to columns like below, sorted by column 3 and provide a total for each occurrences. Finally I would like a grand total of column 3.
21|FE|41|0B
50\65\78
15... (2 Replies)
Discussion started by: ravzter
2 Replies
6. Shell Programming and Scripting
I have to create a Perl script which will transpose the data output from my experiment, from columns to rows, in order for me to analyse the data.
I am a complete Perl novice so any help would be greatly appreciated.
The data as it stands looks like this:
Subject Condition Fp1 ... (12 Replies)
Discussion started by: Sarah_W
12 Replies
7. Shell Programming and Scripting
Hi, I need to transpose columns of my files into rows and save it as individual files. sample contents of the file below.
0.9120 0.7782 0.6959 0.6904 0.6322 0.8068 0.9082
0.9290 0.7272 0.9870 0.7648 0.8053 0.8300 0.9520
0.8614 0.6734 0.7910 0.6413 0.7126 0.7364 0.8491
0.8868 0.7586 0.8949... (8 Replies)
Discussion started by: ida1215
8 Replies
8. Shell Programming and Scripting
Hi
I have a file having the values like below
----------------------------
.set A
col1=”ABC”
col2=34
col3=”DEF”
col4=”LMN”
col5=25
.set A
.set B
col1=55
col3=”XYZ”
col4=”PQR”
col5=66
.set B
.set C
col2=”NNN” (1 Reply)
Discussion started by: Suneel Mekala
1 Replies
9. Shell Programming and Scripting
Hi,
I am trying to transpose rows to columns for thousands of records. The problem is there are records that have the same lines that need to be separated. the input file as below:-
ID 1A02_HUMAN
AC P01892; O19619; P06338; P10313; P30444; P30445; P30446; P30514;
AC Q29680; Q29837;... (2 Replies)
Discussion started by: redse171
2 Replies
10. UNIX for Beginners Questions & Answers
I/P:
I/P:
2017/01/01 a 10
2017/01/01 b 20
2017/01/01 c 40
2017/02/01 a 10
2017/02/01 b 20
2017/02/01 c 30
O/P:
a b c
2017/01/01 10 20 40
2017/02/01 10 20 30 (18 Replies)
Discussion started by: Booo
18 Replies
gvrng(1) gvrng(1)
NAME
gvrng - An interactive, introductory programming language.
SYNTAX
gvrng [world file | program file]
DESCRIPTION
Guido van Robot is a project developed by advanced high school students for use by their peers as a learning tool and precursor to the fur-
ther study of programming with Python. It is a minimalistic programming language providing just enough syntax to help students learn the
concepts of sequencing, conditional branching, looping and procedural abstraction. It's biggest strength is that it permits this learning
in an environment that combines the thrill of problem-solving with instant visual feedback. In short, it is an interactive, introductory
programming language that is excellent for learning the basic concepts of programming, applicable in any high-level language. Best of all,
it's a whole lot of fun, too!
At this point, you are probably asking yourself, "What is GvRng, specifically?" The gist of it is that it is a robot represented by a tri-
angle on the screen that moves around in a world made up of streets and avenues, walls and "beepers", which Guido can collect or set. His
actions are completely guided by a program written by the user.
FILES
/usr/bin/gvrng
/usr/lib/gvrng
/usr/share/doc/gvrng
AUTHORS
Stas Zytkiewicz - stasz@linux.isbeter.nl
Waseem Daher - wdaher@mit.edu
Steve Howell - showell@zipcon.net
SEE ALSO
http://gvrng.sourceforge.net
Stas Zytkiewicz 1.0 09/13/2004 gvrng(1)