I need help to further reduce the output shown below. I want to be able to only return the paragraph where the 'Database alias' is exactly equal to DBIHP. I do not want the other paragraphs being shown below.
$ echo $dbalias
DBIHP
$ db2 list db directory|grep -p 'Database alias ... (2 Replies)
On our one HP-UX 11i box, we have some very long paths defined. When I want to check on our user processes running, the resulting paths are chopped off. /xyz/abc/123/......./server/b is really a process running in the ..../server/bin directory. Is this a terminal problem or buffer length... (1 Reply)
Hi All,
I'm struggling with a problem that I'm wondering (and hoping!) that someone can help me with.
I have a number of .xml files which I'm using grep to search for the string 'include'. I need to extract the value of the include from the grep result.
For example, on any given file, I... (2 Replies)
Here is one I am baffled with; I have not used unix for a while and now that I am back it has been fun remembering and I have enjoyed it, for the most past. this is in ksh.
I need to search in a file for the line with X1 and cut columns 20-25, put them into a variable, added them (dollar... (3 Replies)
Hello guys,
I have been looking around but can't find the answer to my problem:
If the grep command displays no results, print "no results have been found" and increment x. But if the grep command find something, do nothing.
if
echo "no results have been found $x"
x=`expr $x + 1 `... (3 Replies)
Hi,
Am running the command below to search for files that contains a certain string.
grep -il "shutdown" `find . -type f -mtime -1 -print` | grep "^./scripts/active"
How do I get it to do a ls -l on the list of files? I tried doing ls -l `grep -il "shutdown" `find . -type f -mtime -1... (5 Replies)
Hi all,
I'm working with a peice of software that runs on Linux that allows planning trips in cars through maps. This software has different variations depending on the type of car, e.g. BMW, Audi, Hyundai, etc... Each variation has a dependency on common external components that are not... (1 Reply)
Version: RHEL 5.8
I am doing a grep of the piped output from ps command as shown below.
I am grepping for the pattern ora_dbw* . But, in the result set I am seeing strings with ora_dbr* as well like ora_dbrm_SDLM1DAS3 as shown below. Any idea why is this happening ?
$ ps -ef | grep... (6 Replies)
hi,
let's say we have input in files test1.txt, test2.txt, text3.txt ... ... ... ('...' means more files & lines not just 'dots')
test1.txt has:
A
B
C
D
...
...
...
test2.txt has
A
B
C
D
...
...
... (4 Replies)
Hi,
i have a file hello.log which as several line that look like the below
2015-12-07 09:46:56 0:339 120.111.12.12 POST /helloWorld
2015-12-07 09:46:57 0:439 122.111.12.12 POST /helloWorld
....
when i grep expecting to see results like the below.
... (6 Replies)
Discussion started by: mohtashims
6 Replies
LEARN ABOUT DEBIAN
modelicac
modelicac(1) General Commands Manual modelicac(1)NAME
modelicac - modelicac is a compiler for a subset of the Modelica language including parts of the 'equation' subset that can express rela-
tions between Real variable.
SYNOPSIS
modelicac [-c] [-o <outputfile>] <inputfile> [ -L directory | -hpath directory | -keep-all-variables | -jac | -no-parameter-removal | -no-
simplifs | -trace filename | -xml ] This manual page documents briefly the modelicac commands. Note that modelicac is only available on
the platform which are supported by ocamlopt (ie amd64 hurd-i386 i386 powerpc sparc)
OPTIONS
A complete list of options is included below.
-c Compile only, do not instantiate. Modelicac produces a "*.moc" file when invoked with that option.
-o outputfile
Set output file name to <outputfile> (this option also works with -c option but is somewhat useless because of the class name
restrictions given above).
-L directory
Add <directory> to the list of directories to be searched when producing a C file (no effect when used with -c).
-hpath directory
Specify a path to be added to #include directives in the generated C code.
-keep-all-variables
Do not remove any variable from the initial system.
-jac Generate analytic jacobian matrix code.
-no-parameter-removal
Do not remove any parameter
-no-simplifs
Same as -keep-all-variables -no-parameter-removal
-trace filename
Generate tracing information for external function calls into <filename>
-xml Generate an XML version of the model instead of target code
AUTHOR
Modelicac was written by TNI-Valiosys and Imagineby.
This manual page was written by Sylvestre Ledru <sylvestre@debian.org>.
November 18, 2008 modelicac(1)