12-16-2011
How to assemble the parts you have into what you want really depends on how they work, but it definitely sounds possible. More details are needed. You might modify the awk program slightly to make it easier to test its result in the shell for example.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to execute command at remote host from my program.
there is rs6000/aix standard command called rexec.
unfortunately rexec ask username and password which must supplied interactively, of course it is impossible runned by program.
So I have to change rexec command format to make user-name... (5 Replies)
Discussion started by: yatno
5 Replies
2. UNIX for Dummies Questions & Answers
As i was reading an article on being a "HACKERS" which was 30 minutes ago thinking that HACKING was the same as CRACKING, after the reading i discovered their difference, a hacker builds the internet while crackers just cracks and annoy like phreaking and breaking into people's computer.
That... (5 Replies)
Discussion started by: Punk18
5 Replies
3. AIX
Hi,
Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I'm really new and I need help with UNIX. I'm not sure how to use FILE * fp properly, I don't know how to use loops, I don't know how to using i++ or ++i to do things like count the number of scans and print it out, and I don't know how to call functions and use them. I really only know how to... (1 Reply)
Discussion started by: s2pids2pid
1 Replies
5. UNIX for Dummies Questions & Answers
I just loaded Cygwin on my XP deskop. I am TRYING to install a program that said it needs this program to run. How do I install or run a program? Keep in mind I just started with Unix yesterday:) (1 Reply)
Discussion started by: gss
1 Replies
6. UNIX for Dummies Questions & Answers
Alright i'm having problems with this loop. Basically once the script is ran a parameter is required. Once entering the parameter it displays that in LIMIT. Alright so now the problem, I need my loop to ask my user for a number, and if that number is less than the limit then sum the input values... (4 Replies)
Discussion started by: tragic54
4 Replies
7. Shell Programming and Scripting
Hello gurus,
I have three korn shell script 3.1, 3.2, 3.3. I would like to call three shell script in one shell script.
i m looking for something like this
call 3.1;
If 3.1 = "complete" then
call 3.2;
if 3.2 = ''COMPlete" then
call 3.3;
else
exit
The... (1 Reply)
Discussion started by: shashi369
1 Replies
8. Shell Programming and Scripting
Hello everyone, hope that your holiday's were good. I am getting back into some System Admin work after taking last year off and feeling a little rust.
I am doing some reporting and I have a log file that I need to pull some information from. And here is what the extract is from the log file. ... (6 Replies)
Discussion started by: scottzx7rr
6 Replies
9. Solaris
It's almost 3 days now and my resync/re-attach is only at 80%. Is there something I can check in Solaris 10 that would be causing the degradation. It's only a standby machine.
My live system completed in 6hrs. (9 Replies)
Discussion started by: ravzter
9 Replies
10. Programming
Hi All,
I am just curious, not programming anything of my own. I know there are libraries like gmp which does all such things. But I really need to know HOW they do all such things i.e. working with extremely large unimaginable numbers which are beyond the integer limit. They can do add,... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies
LEARN ABOUT DEBIAN
scan-build
SCAN-BUILD(1) SCAN-BUILD(1)
NAME
scan-build
scan-build(1) -- An utility for running the clang(1) analyzer from the command line
SYNOPSIS
scan-build options build command [build options]
DESCRIPTION
scan-build is a command line utility that enables a user to run the clang static analyzer over their codebase as part of performing a regu-
lar build (from the command line).
OPTIONS
-analyze-headers
Also analyze functions in #included files.
-o Target directory for HTML report files. Subdirectories will be created as needed to represent separate "runs" of the analyzer. If
this option is not specified, a directory is created in /tmp (TMPDIR on Mac OS X) to store the reports.
-h, --help
Display the help message.
-k Add a "keep on going" option to the specified build command.
--keep-going
This option currently supports make and xcodebuild. This is a convenience option; one can specify this behavior directly using build
options.
--html-title [title]
Specify the title used on generated HTML pages.
--html-title=[title]
If not specified, a default title will be used.
-plist By default the output of scan-build is a set of HTML files. This option outputs the results as a set of .plist files.
--status-bugs
By default, the exit status of scan-build is the same as the executed build command. Specifying this option causes the exit status
of scan-build to be 1 if it found potential bugs and 0 otherwise.
--use-cc [compiler path]
By default, scan-build uses 'gcc' to compile and link
--use-cc=[compiler path]
your C and Objective-C code. Use this option to specify an alternate compiler.
--use-c++ [compiler path]
By default, scan-build uses 'g++' to compile and link
--use-c++=[compiler path]
your C++ and Objective-C++ code. Use this option to specify an alternate compiler.
-v Verbose output from scan-build and the analyzer. A second and third '-v' increases verbosity.
-V View analysis results in a web browser when the build
--view completes.
ADVANCED OPTIONS
:
-constraints [model]
Specify the contraint engine used by the analyzer. By default the 'range' model is used. Specifying 'basic' uses a simpler, less
powerful constraint model used by checker-0.160 and earlier.
-store [model]
Specify the store model used by the analyzer. By default, the 'region' store model is used. 'region' specifies a field sensitive
store model. Users can also specify 'basic', which is far less precise but can more quickly analyze code. 'basic' was the default
store model for checker-0.221 and earlier.
-no-failure-reports
Do not create a 'failures' subdirectory that includes analyzer crash reports and preprocessed source files.
EXAMPLES
Basic usage of scan-build is designed to be simple: just place the word "scan-build" in front of your build command:
$ scan-build make
$ scan-build xcodebuild
In the first case scan-build analyzes the code of a project built with make and in the second case scan-build analyzes a project built
using xcodebuild.
It is also possible to use scan-build to analyze specific files:
$ scan-build gcc -c t1.c t2.c
This example causes the files t1.c and t2.c to be analyzed.
AUTHORS
Maintained by the Clang / LLVM Team http://clang.llvm.org.
This manual page was written by Ermenegildo Fiorito fiorito.g@gmail.com for the Debian Project.
SEE ALSO
clang(1) scan-view(1) http://clang-analyzer.llvm.org
December 2010 SCAN-BUILD(1)