10-12-2011
Yes thought of the same but couldn't fit that logic here.
If + is working based on its logic of more occurrences, it shouldn't have worked without the $.
Wondering what effect has putting the $ has?
10 More Discussions You Might Find Interesting
1. Solaris
I just installed Solaris 6/10 without any problems but I didn't connect the network cable when I installed it.
Here are my problems:
-I can access webpages using IP addrsses but not with domain names
-ssh is installed but it is not running ('ps -e | grep sshd' didn't show it)
I have been... (4 Replies)
Discussion started by: kungpow
4 Replies
2. Shell Programming and Scripting
Why is only hello3 being printed? There must be some kind of syntax problem because the file list definitely includes all the file extensions line by line.
#!/bin/bash
find '/home/myuser/folder/' -name '*.c' -type f | while read F
do
if ] # if the file name ends in .txt.c
then
... (6 Replies)
Discussion started by: cyler
6 Replies
3. Emergency UNIX and Linux Support
I am having an issue where I am do an SSH to about 30 servers one at a time however my script is getting hung up sometimes on the SSH.
I thought the & at the end as seen below would fire it and move on but that does not seem to be working.
#!/bin/sh
for remsys in trumpetsnail angel... (15 Replies)
Discussion started by: LRoberts
15 Replies
4. Shell Programming and Scripting
Help. My script is working fine when executed manually but the cron seems not to catch up the command when registered.
The script is as follow:
#!/bin/sh
for file in file_1.txt file_2.txt file_3.txt
do
awk '{ print "0" }' $file > tmp.tmp
mv tmp.tmp $file
done
And the cron... (2 Replies)
Discussion started by: jasperux
2 Replies
5. Shell Programming and Scripting
I have a tar file which i want to read and check some specific fields basis on which i want to get output.
Code
zcat samplefile.tar.gz | awk 'FNR==1 {++counter}
counter ==2 {BB=1;next}
substr($0,26,2) =="01") {next}
(substr($0,28,12) ~ "^") {next}
(substr($0,184,3) in BB) {next}
1
'... (7 Replies)
Discussion started by: siramitsharma
7 Replies
6. Shell Programming and Scripting
I'm having a strange problem with basic >& output redirection to a simple log file in csh. When I run this particular output redirection on the command line, it works, but then when I run the same output redirection command >& in my c shell script, I get a blank log file. Nothing is output to the... (5 Replies)
Discussion started by: silencio
5 Replies
7. Red Hat
Hi Team
we have created a DNS server at RHEL6.2 environment in 10.20.203.x/24 network.
Everything is going well on linux client as nslookup, ping by host etc in entire subnet. We are getting problem in windows client as nslookup working as well but not ping. all the firewall is disabled and... (5 Replies)
Discussion started by: boby.kumar
5 Replies
8. Shell Programming and Scripting
I am trying to automate a script where I need to use pbrun /bin/su but for some reason it is not passing thru the pbrun as my code below.
. ~/.bash_profile
pbrun /bin/su - content
c h 1
hpsvn up file path
I am executing this from an external .sh file that is pointing to this scripts file... (14 Replies)
Discussion started by: jorgejac
14 Replies
9. Shell Programming and Scripting
Hello, Newbie here,
I have a perfectly well working web service call I can issue from chrome (PC Windows 10) and get the results I want (a dimmer being turned on in Fibaro Home Center 2 at level 40)
I am not allowed to post urls but the below works with http and :// and... (3 Replies)
Discussion started by: abigbear
3 Replies
10. Shell Programming and Scripting
Hi Team,
I have written the shell script which returns the result of the disk space filesystems which has crossed the threshold limit in HTML Format. Below mentioned is the script which worked perfectly on QA system.
df -h | awk -v host=`hostname` '
BEGIN {
print "<table border="4"... (13 Replies)
Discussion started by: Harihsun
13 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)