07-21-2009
isn't the above logic what you're looking for?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I don't know why the following shell script doesn't work. Could you please help me out?
#!/usr/bin/ksh
test="cal > /tmp/tmp.txt 2>&1"
$test
I know it will work for the following format:
#!/usr/bin/ksh
cal > /tmp/tmp.txt 2>&1
However, I need to get the command from the user in... (1 Reply)
Discussion started by: redtiger
1 Replies
2. Shell Programming and Scripting
Hello all,
I have just started doing shell scripting.
I want to read a file which stores the status of my job I have submitted
on a cluster.
The file looks something like this :
========================FILE=============================
crab: Checking the status of all jobs: please wait... (4 Replies)
Discussion started by: learn_linux
4 Replies
3. UNIX for Dummies Questions & Answers
ssh -q <hostname> /opt/tcs/satish/tst.ksh
ssh -q <anotherserver> /opt/tcs/satish/tst.ksh
tst.ksh has "nohup <command> & "
when i execute below script , its throwing error as
nohup can not be found
ssh -q <anotherserver> /opt/tcs/satish/tst.ksh > log &
can someone let me... (5 Replies)
Discussion started by: only4satish
5 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
I have to write a shell script to telnet to specific host and execute the admin command there. Please help me to do that.
Eg : telnet hostname portno
admin command
exit (3 Replies)
Discussion started by: arukuku
3 Replies
5. Shell Programming and Scripting
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies
6. Shell Programming and Scripting
Hello,
Please i'd like to run command in a script shell , how can i do ?
here my commands :
cd blcr-build // run command in this rep
sudo insmod ./blcr_imports/kbuild/blcr_imports.ko //root
sudo insmod ./cr_module/kbuild/blcr.ko //root
Thank you. (1 Reply)
Discussion started by: chercheur857
1 Replies
7. Shell Programming and Scripting
Hi all,
Here is my scenario..
i need to get dates from an existing autosys calendar and compare it with current date with in a unix shell script.
Please help me out and give me an approach to handle this.......
the general autosys calendar command used is autocal_asc ,but this is... (1 Reply)
Discussion started by: shrik12345
1 Replies
8. Shell Programming and Scripting
Hello,
I need to execute below command in shell script
srvctl relocate service -d $database -s $service -i $avail -t $pref -f and also need to get the errors ,if any,in another file.
What's the right way to execute such commands in shell script?
Best regards,
Vishal (1 Reply)
Discussion started by: Vishal_dba
1 Replies
9. Shell Programming and Scripting
friends,
i have application commands to execute in shell script it is something like this. i will login with user data it takes me to $ prompt. Example given below
login: data
ps : xxxx
$ MNSinput --this takes me to greater than prompt >
> ops --this is command i enter this output... (7 Replies)
Discussion started by: udaykrishna
7 Replies
10. Shell Programming and Scripting
I have a simple task to replace unix line feed end of line characters with carriage returns.
When I run the following “change file in place” sed instruction from the command line all the Line feeds are successfully replaced with Carriage returns.
sed -i 's/$/\r/' lf_file.txt
But that same... (1 Reply)
Discussion started by: hawkman2k
1 Replies
MAUDE(1) General Commands Manual MAUDE(1)
NAME
Maude - A high-performance logical framework
SYNOPSIS
maude [options] [files]
DESCRIPTION
This manual page documents briefly the Maude interpreter. This manual page was written for the Debian distribution because the original
program does not have a manual page.
Maude is a high-performance reflective language and system supporting both equational and rewriting logic specification and programming for
a wide range of applications. Maude has been influenced in important ways by the OBJ3 language, which can be regarded as an equational
logic sublanguage. Besides supporting equational specification and programming, Maude also supports rewriting logic computation.
Rewriting logic is a logic of concurrent change that can naturally deal with state and with concurrent computations. It has good properties
as a general semantic framework for giving executable semantics to a wide range of languages and models of concurrency. In particular, it
supports very well concurrent object-oriented computation. The same reasons making rewriting logic a good semantic framework make it also a
good logical framework, that is, a metalogic in which many other logics can be naturally represented and executed.
Maude supports in a systematic and efficient way logical reflection. This makes Maude remarkably extensible and powerful, supports an
extensible algebra of module composition operations, and allows many advanced metaprogramming and metalanguage applications. Indeed, some
of the most interesting applications of Maude are metalanguage applications, in which Maude is used to create executable environments for
different logics, theorem provers, languages, and models of computation.
--help display help information
--version
Display version number
-no-prelude
Do not read in the standard prelude
-no-banner
Do not output banner on startup
-no-advice
No advisories on startup
-no-mixfix
Do not use mixfix notation for output
-no-wrap
Do not automatic line wrapping for output
-ansi-color
Use ANSI control sequences
-no-ansi-color
Do not use ANSI control sequences
-tecla Use tecla command line editing
-no-tecla
Do not use tecla command line editing
-batch Run in batch mode
-interactive
Run in interactive mode
-random-seed=<int>
Set seed for random number generator
-xml-log=<filename>
Set file in which to produce an xml log
COPYRIGHT
Copyright (c) 1997-2011 SRI International, Menlo Park, CA 94025, USA.
Copyright (c) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
Copyright (c) 2000 - 2003, Richard J. Wagner
REPORTING BUGS
Send bug reports to: maude-bugs@maude.cs.uiuc.edu
SEE ALSO
Websites:
http://maude.cs.uiuc.edu/
Official Maude website
Mailing lists:
http://lists.cs.uiuc.edu/mailman/listinfo/maude-users
A moderated list for the discussion of topics of general interest to all Maude users.
http://lists.cs.uiuc.edu/mailman/listinfo/maude-help
Help list for questions about using Maude.
AUTHOR
This manual page was written by Scott Christley <schristley@mac.com> based upon the Maude help text.
February 2011 MAUDE(1)