01-09-2006
Not sure if I should have started a new trend...
I would like to start programming c in UNIX. Can somebody point me to a resource where the UNIX programming tools are explained (autoconf, automake ... ) so that my programms could be installed into system by ./configure && make && make install sequence. Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Suppose I have a script which is monitoring a directory
whenever a file drops in that directory,it sends alert
say I want to write a return code for the above script
which on successful execution of script gives a return value
Based on return code , I want to do initiate some jobs in other... (1 Reply)
Discussion started by: abhib45
1 Replies
2. Programming
for the pseudocode "parbegin(p1,p2)"
how to write codes?
p1,p2 are threads function.
void p1()
{
...
}
void p2()
{
...
}
void main()
{
parbegin(p1,p2);
} (2 Replies)
Discussion started by: zhshqzyc
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I know how to read a return code after executing a single command.
"echo $?". But I do not know how to sum the return code for a group of commands.
If I string 3 commands together and I do an echo $? all I get is the retunr code for the last command. Example below:
... (3 Replies)
Discussion started by: z1tt45uuprs7
3 Replies
4. UNIX for Dummies Questions & Answers
Hi Thanks to one who helped me to create a new thread
I am so new to unix and trying to learn the stuff
Thanks for all the help I am getting here
I wanted to execute if loop like
if( x=y || (x=z && x=q))
{
some statements
}
Can I get help how to do write the if loop in unix shell... (5 Replies)
Discussion started by: pinky
5 Replies
5. Shell Programming and Scripting
Hi
I have a directory where sometimes a file will come (in a name format say file001.txt).
I want to run a job (.ksh file) as soon as a new file comes into the directory.
How can I write a shell script which will run in the background and monitor arrival of new file in the directory?
... (11 Replies)
Discussion started by: sbasak
11 Replies
6. Shell Programming and Scripting
unix script must do the fiollowing
open a file containing comma delimited records
> each record contains 10 fields
> removes the 2nd field and use that same field containing fields 2 to 10
the original record after fprocessing should containing fields 1 and 3
a new erecord must be... (10 Replies)
Discussion started by: dwightja
10 Replies
7. UNIX and Linux Applications
Hi Friends,
I need your help in understanding this: :rolleyes:
I want to print the error numbers returned by the system calls (not the actual integers but the strings that they match to). The error numbers like EACCESS, ENOMEM, ENOENT etc ...
For eg:
returnCode = open(somefile,... (2 Replies)
Discussion started by: vijaya2006
2 Replies
8. IP Networking
Hi,
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies
9. Shell Programming and Scripting
Could someone please correctly tell the codes to use on Unix operating systems to produce the below diacritics:
A
Ā = Unicode Character 'LATIN CAPITAL LETTER A WITH MACRON' (U+0100)
a
ā = Unicode Character 'LATIN SMALL LETTER A WITH MACRON' (U+0101)
D
Ḍ = Unicode Character... (1 Reply)
Discussion started by: Krishna Birth
1 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
We have a HTML source which will be processed using a informatica workflow. In between these two we have a Unix script which transforms the file.
We are getting an error from past week in the informatica saying invalid format, because the file has unused html reference (0-8,14-31 etc)... (2 Replies)
Discussion started by: karthik adiga
2 Replies
LEARN ABOUT DEBIAN
autoreconf
AUTORECONF(1) User Commands AUTORECONF(1)
NAME
autoreconf - Update generated configuration files
SYNOPSIS
autoreconf [OPTION]... [DIRECTORY]...
DESCRIPTION
Run `autoconf' (and `autoheader', `aclocal', `automake', `autopoint' (formerly `gettextize'), and `libtoolize' where appropriate) repeat-
edly to remake the GNU Build System files in specified DIRECTORIES and their subdirectories (defaulting to `.').
By default, it only remakes those files that are older than their sources. If you install new versions of the GNU Build System, you can
make `autoreconf' remake all of the files by giving it the `--force' option.
Operation modes:
-h, --help
print this help, then exit
-V, --version
print version number, then exit
-v, --verbose
verbosely report processing
-d, --debug
don't remove temporary files
-f, --force
consider all files obsolete
-i, --install
copy missing auxiliary files
--no-recursive
don't rebuild sub-packages
-s, --symlink
with -i, install symbolic links instead of copies
-m, --make
when applicable, re-run ./configure && make
-W, --warnings=CATEGORY
report the warnings falling in CATEGORY [syntax]
Warning categories include:
`cross'
cross compilation issues
`gnu' GNU coding standards (default in gnu and gnits modes)
`obsolete'
obsolete features or constructions
`override'
user redefinitions of Automake rules or variables
`portability'
portability issues (default in gnu and gnits modes)
`syntax'
dubious syntactic constructs (default)
`unsupported'
unsupported or incomplete features (default)
`all' all the warnings
`no-CATEGORY'
turn off warnings in CATEGORY
`none' turn off all the warnings
`error'
treat warnings as errors
The environment variable `WARNINGS' is honored. Some subtools might support other warning types, using `all' is encouraged.
Library directories:
-B, --prepend-include=DIR
prepend directory DIR to search path
-I, --include=DIR
append directory DIR to search path
The environment variables AUTOM4TE, AUTOCONF, AUTOHEADER, AUTOMAKE, ACLOCAL, AUTOPOINT, LIBTOOLIZE, M4, and MAKE are honored.
AUTHOR
Written by David J. MacKenzie and Akim Demaille.
REPORTING BUGS
Report bugs to <bug-autoconf@gnu.org>.
GNU Autoconf home page: <http://www.gnu.org/software/autoconf/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
COPYRIGHT
Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>,
<http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
autoconf(1), automake(1), autoreconf(1), autoupdate(1), autoheader(1), autoscan(1), config.guess(1), config.sub(1), ifnames(1), libtool(1).
The full documentation for autoreconf is maintained as a Texinfo manual. If the info and autoreconf programs are properly installed at
your site, the command
info autoreconf
should give you access to the complete manual.
GNU Autoconf 2.69 August 2017 AUTORECONF(1)