10-17-2011
@Corona688 - Nice idea to use egrep, I was going to recommend awk for that bit.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi !
I have the following situation -
##First variable
variableA=JOB_A
##bunch of other variable
JOB_A_RESTART=cleanupJobA
JOB_B_RESTART=cleanupJobB
JOB_C_RESTART=cleanupJobC
now i need a script which would -
1. take the first variable
2. create a new variable name... (2 Replies)
Discussion started by: hsahay
2 Replies
2. Shell Programming and Scripting
Hello,
If anyone could help me out with this, it would be greatly appreciated. I am trying to dynamically create files and print to them.
Here is the code I have to so far. thanks.
if (n < 5000 )
{
# do nothing
}
else
{
n = 0;
filenum++;
# out = ("out" filenum);
}
... (1 Reply)
Discussion started by: Laud12345
1 Replies
3. Shell Programming and Scripting
Hi All,
I want to create a shell script which dynamically create text files. i am using the following script
$i=1
while
do
cat > test_$i.txt
done
but while running the script it was stopping(the cursor not going to next step, i have to enter ctrl+c to make it stop). it is creating only... (2 Replies)
Discussion started by: KiranKumarKarre
2 Replies
4. Solaris
I have 3 variables with different information.. they look like this (row-wise aswell):
Variable1 =
Roland
Kalle
Dalius
Variable2 =
ake123
ler321
kaf434
Variable3 =
Richardsen
Sworden
Lokthar
How can I sort them by variable3 alphabetical and add them into the same output so... (0 Replies)
Discussion started by: Prantare
0 Replies
5. Shell Programming and Scripting
i'm trying to write a script that has 2 variables, and uses the 1st variable as a number and the 2nd a name to create directories. so if you typed in ./myscript 5 week, it would create 5 directories named week1 - week5. whenever i run this, i get an error message saying week5 already exists, so i... (3 Replies)
Discussion started by: layne2kim
3 Replies
6. Programming
Hi,
For one of the project which i am working on i need to write a cpp code such that it will create the structure dynamically instead of reading it from header file.
For example we have a program which is reading a binary file according to the structure mentioned in header file.
But we... (0 Replies)
Discussion started by: AmbikaValagonda
0 Replies
7. Shell Programming and Scripting
I am writing some scripts using bash and am wondering if there is a better way to perform the following set of formatting variables.
s1=" "
s2=" "
s3=" "
s4=" "
s5=" "
s6=" "
s7=" "
s8=" "
frmt_titl="${bYl}%s${nClor}\n"
frmt1_titl="${s1}$frmt_titl"... (10 Replies)
Discussion started by: kristinu
10 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Here is what I am supposed to do, word for word from my assignment page:
1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies
9. Shell Programming and Scripting
Not sure how to do the following, but any help would be appreciated.
Has to be done using C shell (sorry about that).
I have about 300 files that I need this done for, but I am only going to give one example. I will just need to know how to execute your solution through some type of loop to get... (2 Replies)
Discussion started by: jclanc8
2 Replies
10. Shell Programming and Scripting
Hi all,
I have a PLSQL script which has a IN list where it takes some ids as input. For example
SELECT * FROM EMPLOYEE WHERE EMPLOYEE_ID IN (comma separated list )
I want to run this quest inside a shell script but I would like to prepare the IN list dynamically where the employee ids... (1 Reply)
Discussion started by: LoneRanger
1 Replies
LEARN ABOUT DEBIAN
freecell-solver-range-parallel-solve
HOOLA(6) Freecell Solver HOOLA(6)
NAME
freecell-solver-range-parallel-solve - The Freecell Solver utility for solving a range of Microsoft Freecell/Freecell Pro Boards
SYNOPSIS
freecell-solver-range-parallel-solve start end print_step [--binary-output-to filename] [--total-iterations-limit limit] [fc-solve
Arguments...]
DESCRIPTION
freecell-solver-range-parallel-solve is a command line application that solves a range of Freecell deals of Microsoft Freecell and Freecell
Pro.
start is the first board to solve; end is the last (inclusive) and print_step is the division of board numbers in which to print a status
message.
Following this three mandatory parameters are several flags specific to the range solve. (refer to the OPTIONS section for more
information)
Afterwards one can give it a fc-solve command line that it will use to solve each board. Refer to the fc-solve(6) man page for information
about its options.
OPTIONS
--total-iterations-limit sets the maximal number of iterations with which to try to solve each deal. After that, the program will give up
and report that the board was intractable.
--binary-output-to sets the filename into which to output the number of iterations it took to solve each board. This file can later be used
with statistical preset optimizers such as those found in the Freecell Solver version control repository.
SEE ALSO
fc-solve(6)
AUTHOR
Shlomi Fish, <http://www.shlomifish.org/> .
Freecell Solver 3.12.0 2012-06-22 HOOLA(6)