Sponsored Content
Full Discussion: Those simple one liners
The Lounge What is on Your Mind? Those simple one liners Post 302793267 by hanson44 on Friday 12th of April 2013 01:20:13 AM
Old 04-12-2013
Yes, sometimes the point seems to be to make a one-liner as short and cryptic as possible. It celebrates the brilliance and creativity of the creator. The reader stands back in awe, in amazement that the one-liner apparently works perfectly, but with only a vague idea of how it works. In contrast, a longer, spelled-out style is often easier to understand and more practical, but may seem pedestrian in comparison.

Maybe it's like the difference between the unpredictable, exciting attacking style of a Mikhail Tal vs the boring, grind-it-out style of a Tigran Petrosian. They both became world chess champion. But which games are more enjoyable to play through? Those of Mikhail Tal.

Of course, the best result is the one-liner that is also very easy to understand. Just like the best chess player is the one who can combine different styles.

Back to work. Smilie
This User Gave Thanks to hanson44 For This Post:
 

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

invaluable resource for shell one liners and more

Hi all, This link might help whom is seeking a quick solutions for thier daily shell needs. linkAll commands | commandlinefu.com (1 Reply)
Discussion started by: h@foorsa.biz
1 Replies

2. Shell Programming and Scripting

awk - one liners

Guys, I have a requirement like this. A file has >5K records always. Separated by "|", it has 30 fields for each line. In some lines, I am getting an odd field. say, the 15th field is supposed to be 2 characters but comes in as >2. In this case, for resolving this I need to copy the value of... (6 Replies)
Discussion started by: PikK45
6 Replies

3. Shell Programming and Scripting

awk one liners into a nice script

Hi All, I got some awk one liners, how can i split it all into a nice script? Got these: gzcat capgw0.log-201308161376632741.gz | sed -n '/2013-08-16 05:56:/,/2013-08-16 05:58:/p' > timebased.log awk -F":|," 'FNR==NR && /INFO - AId:/ {a=$0;next} END {for (i in a) print i "|" a}'... (8 Replies)
Discussion started by: batka
8 Replies

4. What is on Your Mind?

One liners, quick rant...

Hi fellas and fella-esses... There are numerous threads on here where people ask for, and often expect, solutions to difficult problems solved using _one_liners_. Why do they insist as such when it is virtually no different in execution time with well thought out indented code? Is it me... (12 Replies)
Discussion started by: wisecracker
12 Replies
TOURNEY-MANAGER(6)						     games(6)							TOURNEY-MANAGER(6)

NAME
tourney-manager - perl interface to run chess engine tourneys SYNOPSIS
tourney-manager configfiles DESCRIPTION
tourney-manager helps you to run chess engine tournaments easyly. Running Tournaments: 1. Create a directory in which the tourneymanager can put all his temporary files, configuration and results. 2. Then create the configuration files. Look at /usr/share/doc/tourney-manager/example.conf which is supplied along with the tourney man- ager. Copy this to the tourney directory,it is rather well commented. More tuning has to be done to specify non standard chess engines. The example-engine.conf has some standard engines set. The settings have to be tuned according your system. Example for an UCI engine: example-engines.conf: engine = Glaurung2 bin = /home/username/chess/tourney/glau.sh glau.sh: #!/bin/bash /usr/games/polyglot /home/username/chess/tourney/glaurung.ini glaurung.ini: [PolyGlot] EngineDir = . EngineCommand = /usr/games/glaurung Log = false LogFile = glaurung.log Resign = true ResignScore = 600 [Engine] Hash = 64 OwnBook = false Threads = 1 3. Start the tourney manager tourney-manager The tourney manager uses an interactive command shell. To start up quickly,the following sequence of commands should be enough: create print start Help about commands is available by 'help' and 'help <command>'. OPTIONS
This program just takes the configfile as an option. SEE ALSO
/usr/share/doc/tourney-manager/example.conf, and /usr/share/doc/tourney-manager/example-engines.conf. AUTHOR
tourney-manager was written by Holger Ruckdeschel <holger@hoicher.de>. This manual page was written by Oliver Korff <ok@xynyx.de>, for the Debian project (but may be used by others). Oliver Korff July 12, 2006 TOURNEY-MANAGER(6)
All times are GMT -4. The time now is 08:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy