This program was used in an application, where a PC was controlling critical tasks. Lets call it PC_critical. Unfortunately, PC_critical occasionally stalled and had to be manually reset.
Thus, a second PC (PC_monitor) was used. PC_critical was to send a message to PC_monitor every five minutes to assure that it was "alive". If no message was received, PC_monitor forced a hard reset of PC_critical by applying a momentary relay closure across the manual reset switch on PC_critical. The operation of the relay was caused by outputting the pattern 0x0a on the Data Port.
Anyone know how to set it up so that when at command line in unix (specifically solaris 2.5.1), and you hit the tab it will finish the command with the nearest file that matches? AND how to set it up so using up and down arrows access your previous commands?
Thanks for all the help here, i've had... (3 Replies)
Hello,
I am trying to replace a string with a paramter given along with the script.
I am replacing application1 to application2 with the script:
./change_app.sh application2
change_app.sh:
#!/bin/ksh
grep $1 applications.dat 2>&1 >/dev/null
echo $1
file=pckage.new
sed 's/Name:... (5 Replies)
Say I have (in psuedocode)
For i=1 to 10
tar cvfb /... 5*i /junk(i)
end
What I mean is that I want each successive for loop to have the block size parameter be 5 times the current counter. This isn't my actual code, just a stupid example...So the question is how do I descrive that parameter... (2 Replies)
Hi.. I am pretty new to Linux . Jus joined 2 weeks ago. My problem is I need to design a particular Application which needs to communicate the Value calclulate by a C++ program 2 another computer..I have done a bit of socket programming to acheive this(The 2 computers are connected via LAN ) ..Now... (1 Reply)
Hi,
I need to check if a parameter provided at the command line is equal to --.How can i do that ? Please help me.
Thanks and Regards,
Padmini (4 Replies)
"$#" gives the number of command-line arguments. How do you get the last command-line parameter (or any particular one determined by a variable)? I thought it would be "${$#}", but that produces something completely unexpected. (4 Replies)
I have a simple script that builds a complex program call which passes a number of parameters to the program. I'm trying to enhance the script to include the value of the command line parameter in the name of a file being created. The problem I'm having is that the parameter may include a forward... (11 Replies)
i am a beginner, i want to make a program that takes any command line arguments... and print it out in reverse.
ie. if the command line argument is "thanks for helping me"
i want it to output "me helping for thanks" :D
i have tried using the reverse command, but i cant get it working!!
... (3 Replies)
I need to execute a .ksh from command line. The ksh calls a control file and has 3 parameters. First parameter is a csv file, second the target table in oracle and third parameter is a date parameter.
I am attempting the below from the ksh command line
{code} => testfile.ksh filname.csv... (1 Reply)
Discussion started by: kobe24
1 Replies
LEARN ABOUT DEBIAN
iclingo
ICLINGO(1) General Commands Manual ICLINGO(1)NAME
iclingo - an incremental ASP system
SYNOPSIS
iclingo [options][files]
DESCRIPTION
This manual page documents briefly the iclingo command.
iclingo is an incremental ASP system implemented on top of clingo. It is based on the idea that the grounder as well as the solver are
implemented in a stateful way. Thus, both keep their previous states while increasing an incremental parameter. As regards grounding, at
each incremental step, the goal is to produce only ground rules stemming from the current program slice, without re-producing previous
ground rules. The ground program slices are then gradually passed to the solver that accumulates ground rules and computes answer sets for
them.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is
included below. For a complete description, see the potassco-guide.
-h, --help
Show summary of options.
-v, --version
Show version of program.
SEE ALSO clasp(1), claspD(1), clingo(1), gringo(1).
AUTHOR
iclingo was written by Roland Kaminski <kaminski@cs.uni-potsdam.de>
This manual page was written by Thomas Krennwallner <tkren@kr.tuwien.ac.at>, for the Debian project (and may be used by others).
March 4, 2010 ICLINGO(1)