Dear All,
i want to search particular string and want to replance next line value.
following is the test file.
search string is
tmp,???
,10:1 "???" may contain any 3 character it should remain the same and next line replace with ,10:50
tmp,123 --- if match tmp,??? then... (3 Replies)
i have a file contains:
13213,A,300
3423,C,200
5563,A,201
3000,A,400
3000,A,402
3000,A,206
3000,A,303
3000,A,200
4233,N,204
i need to search for numbers in the first column are greater than 3000?
i have another issue if you can help me?
if i want to search in the second or the... (7 Replies)
Hi, as the title states i need to find a way to search a column for values great than 1000, and if it is, then delete that row.
An example
1 7.021 6.967 116.019 4 U 6.980E+07 0.000E+00 e 0 0 0 0
2 8.292 7.908 118.063 3 U 1.440E+07 0.000E+00 e 0 821 814 ... (3 Replies)
Hi All,
Can you please guide me to search a string in a particular column of file and return the line number of the line where it was found using awk. As an example :
abc.txt
7000,john,2,1,0,1,6
7001,elen,2,2,0,1,7
7002,sami,2,3,0,1,6
7003,mike,1,4,0,2,1
8001,nike,1,5,0,1,8... (3 Replies)
Unix box server version
***********
>uname -r
B.11.00
>echo $SHELL
/usr/bin/ksh
--> in this server, I have the path like /IMbuild/dev/im0serv1
---> in that directory I have the folders startup(.jsp files nearly 100 jsp's ) and scripts(contains .js files nearly 100 files) ... (9 Replies)
my files are as follows
fileA sepearated by tab /t
00 lieferungen
00 attractiop
01 done
02 forness
03 rasp
04 alwaysisng
04 funny
05 done1
fileB
funnymou120112
funnymou234470
mou3raspnhdhv
rddfgmoudone1438748
so all those record which are greater than 3 and which are not... (4 Replies)
I have a file with multiple fields, example below
File 1:
Field 1|Field 2|Field 3|Field 4|Field 5|Field 6|Field 7|100
Field 1|Field 2|Field 3|Field 4|Field 5|Field 6|Field 7|101
Field 1|Field 2|Field 3|Field 4|Field 5|Field 6|Field 7|102
Field 1|Field 2|Field 3|Field 4|Field 5|Field... (4 Replies)
Hi,
Need your help for this scripting issue I have. I am not really good at this, so seeking your help.
I have a file looking similar to this:
Hello, i am human and name=ABCD.
How are you?
Hello, i am human and name=PQRS.
I am good.
Hello, i am human and name=ABCD.
Good bye.
Hello, i... (12 Replies)
Hi All
I have to search servers name say like 1000+ "unique names" line by line in child.txt files in another file that is a master file where all server present say "master.txt",if child.txt's server name matches with master files then it print yes else no with server name. (4 Replies)
This helped get me started.
https://www.unix.com/unix-for-dummies-questions-and-answers/157026-need-command-search-numbers-greater-than-3000-a.html
This is the command I am using. I am trying to find numbers greater than 70 in column 5. I do not know if it is getting confused because there... (6 Replies)
Discussion started by: cokedude
6 Replies
LEARN ABOUT DEBIAN
makehyper
MAKEHYPER(6) Games Manual MAKEHYPER(6)NAME
makehyper - generate a GNU Backgammon Hypergammon position database
SYNOPSIS
makehyper [-nvh] -f filename [-r filename] [-c chequers] [-t threshold]
DESCRIPTION
Hypergammon is a variation of backgammon with a much reduced number of chequers (usually three). It's possible to fully analyze this sim-
plified game and generate a database of position evaluations in order to play perfectly. makehyper generates such a position evaluation
database.
Since many of the positions are in contact, it's not possible to generate the database in one pass; instead, makehyper iterates until the
position evaluation converges. The convergence threshold can be changed with the -t option.
OPTIONS -f filename, --outfile filename
Write the hypergammon database to filename. This option must be given.
-r filename, --restart filename
Restart calculation of the database from the given file, which should be a checkpoint from an earlier run.
-c chequers, --chequers chequers
Set the number of chequers in the game. The default is 3, for normal 3-chequer hypergammon.
-n, --no-checkpoint
Do not write a checkpoint file after each iteration.
-t threshold, --threshold threshold
Set the convergence threshold. The default is 1e-5.
-v, --version
Show version information and exit.
-h, --help
Display usage and exit.
SEE ALSO gnubg(6)AUTHORS
Joseph Heled, Oystein Johansen, Jorn Thyssen, and Gary Wong, with the assistance of many others <bug-gnubg@gnu.org>.
This manual page was written by Russ Allbery <rra@debian.org>, for the Debian GNU/Linux system (but may be used by others). It may be
redistributed and/or modified under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation
(the same license as GNU Backgammon).
2006-01-15 MAKEHYPER(6)