Then I realized this is probably the most useless command that you can imagine. Yes, perhaps it could assert that there is still a working filesystem, but I am not sure about it.
What do you think?
Can you think of any more useless commands?
Hi mates,
A newbe in UNIX world. how can i add a specific path to my default unix path. ie i want to add a directory let is say /abdul to the path and whenever i log in unix should recognize it. it is mostly importnant when i use the cc command to compile my c programs ...and i have to use ./cc... (2 Replies)
Hi, I came across with this line "set -x" in the beginning of a script, but i can't find one logic reason for this... should be something else after, i think.... anyone can help?
tanx (2 Replies)
Hi All,
I am trying to install the IBM data set generator. I have to use the Solaris to use this tool. The following link is supposed to tell the steps on how to use the IBM tool on the Solaris server.
IBM Quest Market-Basket Synthetic Data Generator
Unfortunately, I don't understand what is... (2 Replies)
Hello;
I work now with a team which has based her "applications" on the following schema:
1 NFS client C1 (linux redhat 5) writes a file fic.dat on a NFS SERVER S (RH 5)
Another NFS client C2 is waiting for the same file fic.dat (on NFS server S1), and, when "fic.dat" appears, then makes... (8 Replies)
cat ~/text.xt | while read line
do
echo ${line} | perl -pe 's/(\d+)/localtime($1)/e'
done
how can i efficiently re-code the above?
also, no matter how i run this, i'm not getting the current/correct date. the contents of the "text.xt" looks like this:
SERVICES... (2 Replies)
Fighting UUOC
cat filename|while read line; do ...
with
sed 's/cat *\(*\) *|/<\1/g'
I found that while loops are converted to
<filename while read line; do ...
Syntax error!
Why syntax error? It would perfectly make sense.
Further, read the article how-would-you-like-your-loops-served-today... (5 Replies)
Discussion started by: MadeInGermany
5 Replies
LEARN ABOUT SUNOS
assert.h
assert.h(3HEAD) Headers assert.h(3HEAD)NAME
assert.h, assert - verify program assertion
SYNOPSIS
#include <assert.h>
DESCRIPTION
The <assert.h> header defines the assert() macro. It refers to the macro NDEBUG which is not defined in the header. If NDEBUG is defined as
a macro name before the inclusion of this header, the assert() macro is defined simply as:
#define assert(ignore)((void) 0)
Otherwise, the macro behaves as described in assert(3C).
The assert() macro is redefined according to the current state of NDEBUG each time <assert.h> is included.
The assert() macro is implemented as a macro, not as a function. If the macro definition is suppressed in order to access an actual func-
tion, the behavior is undefined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO assert(3C), attributes(5), standards(5)SunOS 5.10 10 Sep 2004 assert.h(3HEAD)