Dear all
I declare like this in my program :
int main(int argc ,char **argv)
{
FILE *ft;
char* ini_file;
char fbuf;
char sendbuf;
char strbuf;
}
When I compile
this is the error :
cc: "send.c", line 28: error 1588: "ft" undefined. (1 Reply)
I have a config file that needs to be formatted before it's sourced to a script. I've been formatting it with sed and dropping it in /tmp then sourcing it from there.
I'd like to just format the config file with sed then declare the variables without having to create a temporary file in /tmp. So... (2 Replies)
i have created a script to insert 100K rows into mysql db.
But the forst line where i declare the variable is giving error. I am new to mysql. Can anyone help me in this?
the script is
======================================
DECLARE
c INT(10) := 54;
BEGIN
WHILE c <... (4 Replies)
I recently installed Cygwin on my windows vista to practice on Linux\unix commands.
I am unable to do a simple task of declaring variables on the command prompt
I am trying:
$ vech=Bus
$ echo $vech
bash: vech : command not found
What am I missing? Do i need to add something to .bashrc?
... (1 Reply)
hi to all,
i am trying to declare a variable as an integer in unix shell script. i search the web for a way to do it but it doesnt work.
i tried "define -i" and "declare" but that doesnt work.
if somebody knows another way to declare a variable as integer please help me.
thank you (2 Replies)
Hi
I've few shell scripts which are responsible for triggering the continuous builds for a specific module. Each shell script is for a Module. Shell script has some module specific settings in the beginning and then it triggers the builds (which are nothing but some combination of Java programs... (2 Replies)
Hi All
I am working unders Sun Solaris and I am not
"/opt/boost/boost/thread/detail/thread.hpp", line 344: Error: boost::thread::thread(boost::thread&) is not accessible from boost::move(boost::detail::thread_move_t<boost::thread>).
Do you know if there are other solutions other than... (2 Replies)
Hello everyone.
I'm trying to create a conf file with variables that my other scripts will use.
I have several scripts that use the same variables, and since I don't know how to read them from an external file, i define them in each script (and then if i want to change one's value i need to... (4 Replies)
Hi All,
I am having an abc.txt , which contains some digits
Eg:abc.txt
14.5
56.6
95.5
I want write shellscript in suchway that if any digit is greter than 90 then it shuld display " digit is greater than 90"
Please help me to do so .I have tried below code , for... (5 Replies)
how can i declare variable in perl.
for BLOCK in /sys/block/emcpow* (3 Replies)
Discussion started by: learnbash
3 Replies
LEARN ABOUT SUNOS
updaters
updaters(4) File Formats updaters(4)NAME
updaters - configuration file for NIS updating
SYNOPSIS
/var/yp/updaters
DESCRIPTION
The file /var/yp/updaters is a makefile (see make(1S)) which is used for updating the Network Information Service (NIS) databases. Data-
bases can only be updated in a secure network, that is, one that has a publickey(4) database. Each entry in the file is a make target for a
particular NIS database. For example, if there is an NIS database named passwd.byname that can be updated, there should be a make target
named passwd.byname in the updaters file with the command to update the file.
The information necessary to make the update is passed to the update command through standard input. The information passed is described
below (all items are followed by a NEWLINE except for 4 and 6):
1. Network name of client wishing to make the update (a string).
2. Kind of update (an integer).
3. Number of bytes in key (an integer).
4. Actual bytes of key.
5. Number of bytes in data (an integer).
6. Actual bytes of data.
After receiving this information through standard input, the command to update the particular database determines whether the user is
allowed to make the change. If not, it exits with the status YPERR_ACCESS. If the user is allowed to make the change, the command makes
the change and exits with a status of zero. If there are any errors that may prevent the updaters from making the change, it should exit
with the status that matches a valid NIS error code described in <rpcsvc/ypclnt.h>.
FILES
/var/yp/updaters The makefile used for updating the NIS databases.
SEE ALSO make(1S), rpc.ypupdated(1M), publickey(4)NOTES
The Network Information Service (NIS) was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same; only the
name has changed. The name Yellow Pages is a registered trademark in the United Kingdom of British Telecommunications plc, and may not be
used without permission.
SunOS 5.10 24 Oct 1996 updaters(4)