09-03-2014
<div class="video_container" data-errors="/videos/1149/view_errors" data-fallback-file="http://s3.amazonaws.com/learnmath-app.production/0bbbe7abce1523ee6b4e82b115d0b6fa67331779-video-1149/web.mp4" data-file="http://dxdo2x6i0oxgk.cloudfront.net/0bbbe7abce1523ee6b4e82b115d0b6fa67331779-video-1149/web.mp4" data-poster="http://dxdo2x6i0oxgk.cloudfront.net/0bbbe7abce1523ee6b4e82b115d0b6fa67331779-video-1149/web-default-33.png" data-views="/videos/1149/views"><p id="video_tag_29315">Loading the player...</p><div class="captionbox"><div class="captionbox-body"><span class="phrase" data-begin="1.84" data-end="9.04">
There's more text actually. But its too long This is the relevant part. Rest is just formatted html text
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have a big text file .
i want to create new file as extract some specific text
from the big file
i am using hp ux
please help (2 Replies)
Discussion started by: reyazan
2 Replies
2. Shell Programming and Scripting
Hi All,
I am a newbie to Shell Scripting.
I have a File
The Server Name
XXX002
-------------------------
2.1 LAPD
Iface Id Link MTU Side
ecc_3_1 4 Up 512 User
ecc_3_2 5 Up 512 User
The Server Name
XXX003
-------------------------
2.1 LAPD (4 Replies)
Discussion started by: athreyavc
4 Replies
3. Shell Programming and Scripting
Hi
I want to extract certain text between two line numbers like
23234234324 and
54446655567567
How do I do this with a simple sed or awk command?
Thank you.
---------- Post updated at 06:16 PM ---------- Previous update was at 05:55 PM ----------
found it:
sed -n '#1,#2p'... (1 Reply)
Discussion started by: return_user
1 Replies
4. Shell Programming and Scripting
How can i break a text file into parts that occur between a specific pattern?
I have text file having various xml many tags like which starts with the tag "<?xml version="1.0" encoding="utf-8"?>" . I have to break the whole file into several xmls by looking for the above pattern.
All the... (9 Replies)
Discussion started by: abhinav192
9 Replies
5. Shell Programming and Scripting
Hi,
I need to extract <APPNUMBER> tag alone, if the <college> haas IIT Chennai value. college tag value will have spaces embedded. Those spaces should not be suppresses.
My Source file
<Record><sno>1</sno><empid>E0001</empid><name>Rejsh suderam</name><college>IIT ... (3 Replies)
Discussion started by: Sekar1
3 Replies
6. Shell Programming and Scripting
I have a txt file having rows and coulmns, i want to perform some operation on a specific coulmn starting from a specific line.
eg:
50.000000 1 1 1
1000.00000
1000.00000
50000.000
19
19
3.69797533E-07 871.66394 ... (3 Replies)
Discussion started by: shashi792
3 Replies
7. Shell Programming and Scripting
Input file
matrix-remodelling_associated_8_
aurora_interacting_1_
L20
von_factor_A_domain_1
ATP_containing_3B_
.
.
Output file
matrix-remodelling_associated_8
aurora_interacting_1
L20
von_factor_A_domain_1
ATP_containing_3B
.
. (3 Replies)
Discussion started by: perl_beginner
3 Replies
8. Shell Programming and Scripting
Hello everyone,
I am on AIX (6.1). I can only use shell (ksh) script.
I can't do this on my own, so will do my best to explain my needs.I also do not know what is the best idea to make it work, so here is what I am thinking, but I may wrong.
I need help to extract info on... (3 Replies)
Discussion started by: Aswex
3 Replies
9. Shell Programming and Scripting
In the below file I am trying to grep or similar, all lines where only AF= is less than 0.4.. Thank you :).
grep
grep "AF=" ,+ .4 file
file
12 112036782 . T C 34.0248 PASS ... (3 Replies)
Discussion started by: cmccabe
3 Replies
10. Shell Programming and Scripting
I am trying to rename all text files in a directory that match a pattern. The current command below seems to be using the directory path in the name and since it already exists, will not do the rename. I am not sure what I am missing? Thank you :).
Files to rename in... (3 Replies)
Discussion started by: cmccabe
3 Replies
Pente(6) Games Manual Pente(6)
NAME
pente - Game of five in a row
SYNOPSIS
pente -help
pente [ <options> ]
HOW TO PLAY PENTE
Pente is the American name of a Japanese game called ``ni-nuki'', which is a variant of the ancient game ``go-moku''. Pente is played on a
19x19 grid with stones of two different colors. Each player chooses one set of stones; then the players take turns placing their stones on
any unoccupied intersection until one player wins.
There are two ways to win. If a player makes five or more stones in a straight line (across, down, or diagonally), then that player wins.
Or, if a player captures five pairs of his or her opponent's stones, that player also wins.
Stones may be captured in pairs only. To capture a pair of stones, a player must place one stone on either side of the pair.
The first move is placed in the center of the board. To make up for the advantage of going first, the first player's second move must be
at least three spaces from their first. This sounds confusing, so don't worry about it; just play, and if the computer won't let you move
where you want on your second move, play somewhere farther away.
That's it! These directions are pretty terse, but if you have an X display there are better directions available through the ``help'' but-
ton. You can also try playing a few games; the rules are simple enough that you can pick them up easily just by playing.
THE PROGRAM
This program has support for many different display types. Depending on the compile options used, X Windows, Curses, and a plain text for-
mat may be available. The exact display type used will be chosen by the program, or it may be selected with a command line switch. Infor-
mation on the switches is available with pente -help.
Most of the command line switches can also be set with the ``setup'' window of the X interface. Any changes you make there will be saved
in the .pente.ad file and remembered the next time that you play.
The command line switches can also be set with an X default. For example, if you want to set black and white to be the default mode, you
can run pente with pente -nocolor, or you can add pente*color: 0 to your X defaults, or you can just turn off color in the ``setup'' win-
dow.
Pente will store a new .pente.ad file every time you run it. In this file it will save the current state of Pente. This is handy; you
don't normally have to set command line switches since Pente will remember them in the .pente.ad file.
BUGS
Sometimes the .pente.ad file gets some bad data in it. Just delete the file and then you can start from scratch again.
AUTHOR
Bill Shubert (wms@igoweb.org)
French text by Eric Dupas (dupas@univ-mlv.fr)
Italian text by Andrea Borgia (email: borgia@cs.unibo.it; homepage: http://www.cs.unibo.it/~borgia)
31 July 2001 Pente(6)