i having problems figuring out how to 'read' in 3 different directory listings and then display them on the screen into 3 separate columns.
i thought i could use a 'for' loop to grab each directory and then assign a unique variable to each line 'read' in.
of course, as you experts all know,... (16 Replies)
I'm writing a script to analyze the logs of an smtp relay machine and I'd like the final output to be displayed in columns showing results from the previous day, week, month, and 45 days. The problem I'm running into is that I can't figure out how to display the columns neatly so there is no... (1 Reply)
Hi, I'm just wondering how you display a specific set of columns of a specified file in Unix. For example, if you had an AddressBook file that stores the Names, Phone numbers, and Addresses of people the user entered in the following format (the numbers are just to give an idea of what column... (1 Reply)
Hi,
I have a query about joining files using data ranges.
Example files below - I want to join file1 to file2 with matches where file1 column 1 is equal to file2 column1, and file1 column 2 is within the range of file2 columns 3 and 4. I would like rows which don't match to be printed too.
... (4 Replies)
I have a huge matrix file which looks like this (example matrix):
1 2 3 5
4 5 6 7
7 6 8 9
1 2 4 2
7 6 5 1
3 2 1 9
As one can see, this matrix has 4 columns and 6 rows. But my original matrix has some 3 million rows and 6000 columns.
For example, on this matrix I can define my task as... (2 Replies)
Hello all,
I have a .csv file with over 100 columns. I would like to grep for a pattern only searching within a range of those fields, and print the entire line. For example: grep a pattern from columns $47-$87, but print fields $0 - $100
Thanks! (9 Replies)
Hello,
I have a huge file with many columns . I want to use the names of the columns to print columns to another file.
for example
file.txt
COLA COLB COLC COLD
1 2 3 5
3 5 6 9
If I give name for multiple columns to the code:... (5 Replies)
Hi all,
I have a large matrix of 720 x 25. I want to get sum of range of rows and columns. Like, I need sum of all columns and row number 2 to 21, then leaving 22nd row, again sum of all columns and row number 23 to 42 again leaving 43rd row and then sum of 44th to 63. Means I want to add all... (4 Replies)
Hi All,
I am new to shell scripting. I have a requirement as part of my job to find out null/empty values in column 2 and column 3 from a CSV file and exit the further execution of script by displaying a simple error message.
I have developed a script to do this by reading various articles... (7 Replies)
Hi there,
I am trying to remove al letters after : character on specific columns from 10th column till 827. I used sed and cut to do so but I am sure there is better one liner someone can think of from unix community members.
Huge file but it has this structure (Total number of Columns =... (10 Replies)
Discussion started by: daashti
10 Replies
LEARN ABOUT DEBIAN
xvier
XVIER(6) Games Manual XVIER(6)NAME
xvier - a X11 board game.
SYNOPSIS
xvier [ -display displayname ] [ -geometry geometry ] [ -fn fontpattern ] [ -iconic ] [ -rows rows ] [ -columns columns ] [ -prog program-
path ] [ -level levelnumber ]
DESCRIPTION
Xvier is a board game where you and the computer alternately throw stones into free columns. The stones pile up in the columns, and the
goal is to get four stones in a row, in a column or diagonally. You can choose various board sizes and levels of difficulty.
During the game you click with the mouse onto the column where you want to put your stone. Another possibility is a lower case letter in
the range 'a' to 'm' (maximally) where 'a' is the left column. If you want to change the level of difficulty, you must use the keyboard.
Simply type the number of the desired level. These levels correspond to the search depth of the game program. The meaning of the command
line options and buttons is given below.
While the game program computes a move, everything besides Change and Quit is blocked.
OPTIONS -display displayname
The X11 screen you want to use.
-geometry geometry
The desired geometry of the game window.
-fn fontpattern
A pattern describing the fonts which are used for the buttons and messages. Xvier chooses the biggest font that fits into the win-
dow. Therefore the pattern should describe different sizes of one font. The default is *-Helvetica-Medium-R-Normal-*.
-iconic
Start in iconic state.
-rows rows
The number of rows of the board. The possible range is 4 to 13. The default is 6.
-columns columns
The number of columns of the board. The possible range is 4 to 13. The default is 7.
-prog programpath
The path of the game program.
-level levelnumber
The level of difficulty to start with. The possible range is 0 to 9. The default is 0.
BUTTONS
The keyboard equivalents of the buttons are given in brackets.
Quit ['q' or 'Q'] Finish the game.
New ['n' or 'N'] Start a new game.
Undo ['u' or 'U'] Undo one move.
Start ['s' or 'S'] Let the computer begin with the first move. The board must be empty.
Change ['C'] Exchange the colours of your and the computer's stones.
AUTHOR
Norbert Jung jung@dia.informatik.uni-stuttgart.de
21 April 1992 XVIER(6)