11-22-2010
Dear Scrutinizer,
I appreciate your lateral thinking
it worked out
Thanks to all who posted their views in resolving my issue.
It was a great learning ....
Regards
JC
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have an input file like:
111
abcdefgh
asdfghjk
dfghjkl
222
aaaaaaa
bbbbbb
333
djfhfgjktitjhgfkg
444
djdhfjkhfjkghjkfg
hsbfjksdbhjkgherjklg
fjkhfjklsahjgh
fkrjkgnj
I want to read this input file and make separate output files with the header as numric value like "111"... (9 Replies)
Discussion started by: saltysumi
9 Replies
2. Shell Programming and Scripting
Hi
I have to write a script to split the huge file into several pieces. The file columns is | pipe delimited. The data sample is as:
6625060|1420215|07308806|N|20100120|5572477081|+0002.79|+0000.00|0004|0001|......... (3 Replies)
Discussion started by: lakteja
3 Replies
3. Shell Programming and Scripting
I have a file as:
I/P File:
Ground Car 2009
Lib 2008
Lib 2003
Ground Car 2009
Ground Car 2003
Car 2005
Car 2003
Car 2005
Sita 2900 2006
Car 2007
I have to split the file into two: - one for names and second for years.
O/p1 (Names):
Ground Car (3 Replies)
Discussion started by: karumudi7
3 Replies
4. UNIX for Advanced & Expert Users
Hi Folks,
Please help me in solving the problem.
I want to write script in order to split a file into small pieces and send it automatically through mail.
Ex. The file name is CALM*.txt . It is around 50 MB. I want to split the file into 20 MB 2-3 smaller files and send (like uuencode) it... (6 Replies)
Discussion started by: piyushbhashkar
6 Replies
5. Shell Programming and Scripting
Hi all,
I am new to scripting and I have a requirement
we have source file as
HEADER 01.10.2010 14:32:37 NAYA
TA0022
TA0000
20000001;20060612;99991231;K4;02;3
20000008;20080624;99991231;K4;02;3
20000026;19840724;99991231;KK;01;3
20000027;19840724;99991231;KK;01;3... (6 Replies)
Discussion started by: srk409
6 Replies
6. Shell Programming and Scripting
I have an input file with contents like:
MainFile.dat:
12247689|7896|77698080
16768900|hh78|78959390
12247689|7896|77698080
16768900|hh78|78959390
12247689|7896|77698080
16768900|hh78|78959390
12247689|7896|77698080
16768900|hh78|78959390
12247689|7896|77698080
16768900|hh78|78959390
... (4 Replies)
Discussion started by: rkrish
4 Replies
7. Shell Programming and Scripting
Hi ,
I am receiving a CSV file that can vary in number of rows each time.
I am supposed to split this file into 3 separate files like this:
1. create a file named 'File1.csv' that will contain first 3 rows of the input file
2. create file named 'File2.csv' that will contain last 3 rows of the... (7 Replies)
Discussion started by: kedrick
7 Replies
8. Shell Programming and Scripting
Hello,
I have one file which is in size around 20 MB , wanted to split up into four files of each size of 5 MB.
ABCD_XYZ_20130302223203.xml.
Requirement is that to write script which should do as : first three file should be of size 5 MB each, the fourth one content should be in the last... (8 Replies)
Discussion started by: ajju
8 Replies
9. Shell Programming and Scripting
Hello Shell Guru's
I have a requirement to split the source xml file into three different text file.
And i need your valuable suggestion to finish this.
Here is my source xml snippet, here i am using only one entry of <jms-system-resource>. There may be multiple entries in the source file.
... (5 Replies)
Discussion started by: Siv51427882
5 Replies
10. Shell Programming and Scripting
Hello,
I have some large text files that look like,
putrescine
Mrv1583 01041713302D
6 5 0 0 0 0 999 V2000
2.0928 -0.2063 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
5.6650 0.2063 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
3.5217 ... (3 Replies)
Discussion started by: LMHmedchem
3 Replies
LEARN ABOUT DEBIAN
phalanx
PHALANX(6) Games Manual PHALANX(6)
NAME
Phalanx - Chess playing program
SYNOPSIS
phalanx [options] [<moves> <minutes> [<increment in seconds>]]
phalanx [options] [<seconds per move>]
phalanx bench
phalanx bcreate [options]
DESCRIPTION
This manual page documents briefly the phalanx program. This manual page was written for the Debian GNU/Linux distribution (but may be
used by others), because the original program does not have a manual page.
phalanx is a chess playing program. It is partially xboard compatible. Under xboard, it can play games, force & undo moves, and show
thinking. In this version, you cannot set positions with xboard.
It is also possible to run phalanx without xboard. Do phalanx -? to get a list of command line options. One important command of pha-
lanx's ASCII interface is help.
phalanx uses (traditional) 10x12 board implementation. There are three often used board implementations: "8x8" (GNU Chess), "bitboard"
(Crafty), and "10x12" (Nimzo, Phalanx). In short, "10x12" is easy to implement and the code is small (==fast on PC). Opening book is
small, simple, hand-written.
OPTIONS
-t <transposition table size in kilobytes>
-f <fixed search time in seconds>
-x <+/->
xboard mode on/off default: on
-p <+/->
permanent brain on/off default: off
-s <+/->
show thinking on/off default: off
-c <+/->
cpu time default: off
-o <+/->
polling input default: on
-b <+/->
opening book default: on
-r <resign value in centipawns>
default: 0 (no resigning)
-e <easy level 0...100>
default: 0 (best play)
-l <+/->
learning on/off default: on
-v print version and exit
-P <primary book directory>
-S <secondary book directory>
-L <learning file directory>
-g <log file name>
EXAMPLES
phalanx -c+ -s+ -o - -x- -f 60 -t4000
xboard -fcp "phalanx -l+ -r800"
SEE ALSO
/usr/share/doc/phalanx, xboard(6)
AUTHOR
Phalanx was written by Dusan Dobes <dobes@math.muni.cz>. This manual page was written by Stephen Stafford <bagpuss@debian.org> for the
Debian GNU/Linux project, but may be used by others. It was written with the assistance of help2man(1) and then edited slightly to clean
it up.
Phalanx XXII May 2001 PHALANX(6)