Hi Friends,
Can any one help me with count average of student marks in this file (i can not change structure of the input file):
input file:
1:John Smith:2 3 4 5
2:Mark Anderson:3 2
3:Susan Waterman:2 4 2
(numbers of marks are different)
output:
Name:John Smith
ID#: 1
Avg. mark:... (6 Replies)
Hi all this is a UNIX question.
I have a large flat file with millions of records.
col1|col2|col3
1|a|b
2|c|d
3|e|f
3|g|h
footer****
I am supposed to calculate the sum of col1 1+2+3+3=9, count of col1 1,2,3,3=4, and distinct count of col1 1,2,3=c3
I would like it if you avoid... (4 Replies)
I have a sorted file like:
Apple 3
Apple 5
Apple 8
Banana 2
Banana 3
Grape 31
Orange 7
Orange 13
I'd like to search $1 and if $1 is not the same as $1 in the previous row print that row and print the number of times $1 was found.
so the output would look like:
Apple 8 3
Banana... (2 Replies)
I am redirecting my ping output to a file. The sample output is like this:
64 bytes from xx.xx.xx.167: icmp_seq=4490 ttl=116 3.75 ms 2011Jul12- 15 40 16
64 bytes from xx.xx.xx.167: icmp_seq=4491 ttl=116 5.29 ms 2011Jul12- 15 40 17
64 bytes from xx.xx.xx.167: icmp_seq=4492 ttl=116 4.88 ms... (6 Replies)
Hi ,
Below is my sample data,I have this 8 column(A,B,C,D,E,F,G,H) in csv file.
A , B ,C ,D ,E ,F,G ,H
4141,127337,24,15,20,69,72.0,-3
4141,128864,24,15,20,65,66.0,-1
4141,910053,24,15,4,4,5.0,-1
4141,910383,24,15,22,3,4.0,-1
4141,496969,24,15,14,6,-24.0,-18... (7 Replies)
What I'm trying to accomplish. I receive a Header and Detail file for daily processing. The detail file comes first which holds data, the header is a receipt of the detail file and has the detail files record count. Before processing the detail file I would like to put a wrapper around another... (4 Replies)
Hi Friends ,
I am having one problem as stated file .
Having an input CSV file as shown in the code
U_TOP_LOGIC/U_HPB2/U_HBRIDGE2/i_core/i_paddr_reg_2_/Q,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,0... (4 Replies)
Hi,
I have a file with a list of bunch of IP addresses from different VLAN's . I am trying to find the list the number of each vlan occurence in the output
Here is how my file looks like
1.1.1.1
1.1.1.2
1.1.1.3
1.1.2.1
1.1.2.2
1.1.3.1
1.1.3.2
1.1.3.3
1.1.3.4
So what I am trying... (2 Replies)
Discussion started by: new2prog
2 Replies
LEARN ABOUT DEBIAN
twiglet
TWIGLET(1) User's Manual TWIGLET(1)NAME
twiglet - observe or control an RVC-enabled machine's console
SYNOPSIS
twiglet [OPTION]... host-specification
DESCRIPTION
twiglet is a program for controlling another machine's console. It works using the RVC protocol, and an RVC server (such as rvcd(1)) must
be running on the machine to be observed.
Using twiglet, the a best effort attempt is made to duplicate the screen contents of the observed machine. If the machine is displaying a
virtual text console, the text on the console is rendered in the terminal in which twiglet runs. If the machine is displaying an X ses-
sion, and the RVC server supports VNC integration, twiglet will open a window that contains the current contents of the X display.
It is also possible to control the observed machine in various ways. With keyboard control enabled (and with support from the RVC server),
keys may be sent to the observed machine in text console mode almost as if they were typed from the keyboard. Twiglet also supports
switching virtual console on the observed machine. Finally, if VNC integration is available, the X display can be manipulated almost as if
the user were at the console.
The intended use for twiglet is in training and teaching environments. The idea is that there are student machines and a control machine
(which the trainer or teacher would be using), with a serial line attached to each student machine. The trainer or teacher can then ana-
lyse the students' attempts to complete tasks, and help them out (showing them how to finish it) without needed to push them aside to get
to the keyboard.
This client is written using ncurses(3X).
OPTIONS --help display a help message and exit successfully
--version
display a version number and exit successfully
-c, --control
control the remote machine rather than just observing it
-e xy, --escape xy
set the escape character and the escape escape character (like screen(1))
The host-specification takes one of the following forms:
host:port
to connect to an RVC server over TCP
tty [host]
to communicate with an RVC server over a tty (for example a serial line); the optional hostname is for VNC integration
BUGS
I'm sure there are bugs, but I don't know what they are.
AUTHOR
Tim Waugh <twaugh@redhat.com>
VTGRAB 20 Sep 2000 TWIGLET(1)