10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am overriding the file open system calls (open, open64, fopen, fopen64, freopen, freopen64) in a dynamic library and setting LD_PRELOAD to point to that library. Here is a sample script I'm testing this on -
#!/bin/tcsh
source testcsh1.csh
source testbash1.sh
On RHEL 5.7 (tcsh 6.14.00), the... (2 Replies)
Discussion started by: endgame
2 Replies
2. Programming
I have an implementation file tomog.cpp that implements a class called Tomog where I need to include its header file which resides in another place.
How can I best specify the include file? I would not like to do
#include "../../tomso/tomography/tomog.hpp"
I wish to do instead
... (3 Replies)
Discussion started by: kristinu
3 Replies
3. Shell Programming and Scripting
Hi there
Well, it's my first time on this board, so short to myself:
I'm matibaski, working as a webdeveloper and also as a system administrator on ubuntu server machines.
The problem:
I created a small apache-hostingscript by myself and it works fine.
But after some addings and new... (1 Reply)
Discussion started by: matibaski
1 Replies
4. Shell Programming and Scripting
I've written the script below to merge only .txt files that exist in one directory into one huge .txt file and ignore other files with other extensions.
now the result is one huge .txt file with all the contents of other .txt files
how can i add a File Name as a comment before each file?
... (12 Replies)
Discussion started by: miss_dodi
12 Replies
5. UNIX for Dummies Questions & Answers
what is the relationship between
/usr/include/sys/*.h
and
/usr/include/unistd.h ?
Fuctions in unistd.h are syscalls. Do the fuctions in sys/*.h call syscalls? (7 Replies)
Discussion started by: vistastar
7 Replies
6. Solaris
Our admin has upgraded our OS solaris system to 5.11 but no more I can compile any trivial or non-trivial code. I'm trying to compile a trivial c++ program(a Helloworld program) but It gives error indicating that include files do not exist (in this trivial case <stdio.h>), it starts compiling but... (1 Reply)
Discussion started by: Newsha
1 Replies
7. Shell Programming and Scripting
Hello~
I'm on AIX version 5 and I believe I have the tcsh shell environment to play in. Can you guys help me with a solution to rename all files that have "eclp" in the filename to "ecl" ? I basically want to rename the files and strip the "p" out.
i.e. original filenames:
... (3 Replies)
Discussion started by: in2vtec
3 Replies
8. Programming
Hi there!
gcc seems not to include available files, see below:
What should I do?
Look forward to your reply/replies!
Thanks
Grahamb
In the source directory I enter:
#gcc -Wall -I/usr/include ./gtkdaq.c > ./out.log 2>&1
Response:
In file included from ./gtkdaq.c:3:... (2 Replies)
Discussion started by: grahamb
2 Replies
9. Shell Programming and Scripting
I want to include all the subnet files under /etc/dhcpd/ to /etc/dhcpd.conf
so here is my content of dhcpd.conf
...
include "/etc/dhcpd/*";
however, the check-syntax reports syntax error, as they do not recognize the wildcard *, and display that " file /etc/dhcpd/* could not be found.
... (4 Replies)
Discussion started by: fredao
4 Replies
10. Programming
Hi,
I am new to the unix networking.
I have written one client and server for UDP sockets..
I got the following errors while conpilation
I have include all include files.
Could some one help ...is there any other file to be included.....?
will the include files change on different unix... (3 Replies)
Discussion started by: reddyb
3 Replies