jereESC[1;31mLESC[0myab5 has just replied to a thread you have subscribed to entitled -
Trying to ESC[1;31mLESC[0make cryptograESC[1;31mLESC[0m script - in the UNIX for DuESC[1;31mLESC[0mESC[1;31mLESC[0mies Questions &
Answers foruESC[1;31mLESC[0m of Unix & Linux ForuESC[1;31mLESC[0ms.
This thread is located at: http://www.unix.coESC[1;31mLESC[0m/showthread.php?t=264178&goto=newpost
---------- Post updated at 18:08 ---------- Previous update was at 18:04 ----------
I need to write a make script to install a C module in a UNIX
environment.It should install the sources, build the libraries and
install them and also install the info pages on the system.
Can this script be general enough to also install on
windows, windows dll, windows help file's etc. Any... (3 Replies)
Hi,
I try to write a script to create a new directory.
#!/bin/bash
echo "Please enter folder name (6 characters only) :"
read foldername
mkdir /home/user/$foldername
$foldername >> /home/list/list.txt
My question/situation:
1) how to ensure the folder name MUST BE 6 characters... (0 Replies)
Hi,
I have a very basic knowledge of Unix and I need your help for a small script that will do the following commands that I do manually by just giving the filename TPR20080414.txt
cut -d'|' -f3,4 TPR20080414.txt> oe_012.lkp
awk -F "|" '{temp=$1;$1=$2;$2=temp}1' OFS="|" oe_012.lkp >... (3 Replies)
Hi,
I have a script that ftp over the file:
CFGFILE=/export/home/myuser/scripts/ftp1.cfg
LOGFILE=/app/bea/logs/
LOCALPATH=/expport/home/myuser/ECNLogs/
YEAR=`date '+%Y'`
MONTH=`date '+%m'`
DAY=`date '+%d'`
HOUR=`date '+%H'`
MINUTE=`date '+%M'`
LASTHOUR=$((HOUR-1))
echo $LASTHOUR
... (4 Replies)
Hi All,
I have a script which throws the output if condition matches. I run the cmd :
# ldf
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c1t0d0s0 1984564 1375019 550009 72% /
/dev/dsk/c1t0d0s3 5040814 2628410 2361996 53% /usr... (4 Replies)
Good morning. I am searching for "how-to"'s for some particular questions:
1. How to write a script in HP-UX 11.
2. How to schedule a script.
3. How to "call" scripts from the original script.
4. How to su to another user from within a script.
This is the basics of what the... (15 Replies)
if i have a script called test.sh
file1=$(ls -l|awk '{print $9 $1}')
awk ' /date_of_selling:/ { print $6 ":" &9 }' /$file1 >> data.txt
if i wanna this script to run automatically every day at 8 am :D (3 Replies)
How do we create a shell script that creates a makefile?
what if we want to use the #include header files too? (2 Replies)
Discussion started by: sslokhan
2 Replies
LEARN ABOUT DEBIAN
make-gnome-freecell-board
HOOLA(6) board_gen HOOLA(6)NAME
make-gnome-freecell-board, make-aisleriot-freecell-board, make-microsoft-freecell-board, make-pysol-freecell-board - Programs to generate
boards to be used as input to Freecell Solver.
SYNOPSIS
program [-t] board-number
or for make-pysol-freecell-board:
program [-t] [-F] board-number [game-string]
or for make-aisleriot-freecell-board:
program [-t] board-number [game-string]
DESCRIPTION
These programs are command-line programs that can generate the initial board of the Freecell games of several popular Solitaire
implementations. Those boards can be in turn be inputted to fc-solve by means of a pipeline, or placed inside a file for safe-keeping.
make-pysol-freecell-board and make-aisleriot-freecell-board also accept an optional third argument which indicates the game type. This type
defaults to Freecell, but is useful for generating the boards of other games. Note that using this flag does not preclude one from using
the "--game" flag of fc-solve.
make_pysol_freecell_board.py accepts another parameter called -F or --pysolfc that deals the PySolFC boards instead of the classic PySol
ones.
A common paradigm for using those programs is something like:
bash:~$ make-microsoft-freecell-board 11982 | fc-solve -l gi
If the "-t" option is specified, then the 10 cards are printed with "T"'s, instead of "10"'s. While this does not have any effect on fc-
solve it may prove useful for other solvers or solitaire implementations which do not accept "10"'s.
Here is a short description of each program:
make-gnome-freecell-board
Generate the boards of the standalone Freecell program that comes with the GNOME desktop.
make-aisleriot-freecell-board
Generate the Freecell boards of GNOME's AisleRiot.
make-pysol-freecell-board
A Python script that generates the boards of the various games of PySol.
make-microsoft-freecell-board
A program that generates the boards of Microsoft Freecell and of the Freecell Pro implementation of Freecell.
OPTIONS
board-number is the board number as a decimal number.
game-string is a string describing the game. Valid strings and their respective games are:
bakers_game - Baker's Game (*)
bakers_dozen - Baker's Dozen (Broken) (*)
beleaguered_castle - Beleaguered Castle (*)
citadel - Citadel
cruel - Cruel
der_katz - Der Katzenschwantz
die_schlange - Die Schlange
eight_off - Eight Off (*)
fan - Fan
forecell - Forecell
freecell - Freecell (the default)
good_measure - Good Measure
ko_bakers_game - Kings' Only Baker's Game
relaxed_freecell - Relaxed Freecell
relaxed_seahaven - Relaxed Seahaven Towers
seahaven - Seahaven Towers (*)
simple_simon - Simple Simon (*)
streets_and_alleys - Streets and Alleys
make-aisleriot-freecell-board supports only the games marked with an asterisk (*).
SEE ALSO
fc-solve (6)
/usr/share/doc/freecell-solver-bin/README.board_gen
AUTHOR
Shlomi Fish, <http://www.shlomifish.org/> .
board_gen 3.12.0 2012-06-22 HOOLA(6)