Search Results

Search: Posts Made By: marquis
6,555
Posted By marquis
you can do this ( in bash ) c=`grep foo...
you can do this ( in bash )

c=`grep foo fil1`
d=`grep bar fil2`

if [ "$c" == "$d" ]; then
...
else
...
fi

HTH
2,931
Posted By marquis
gnu version is in coreutils: ...
gnu version is in coreutils:

http://ftp.gnu.org/pub/gnu/coreutils/
10,514
Posted By marquis
I don't know if this is it but it is always...
I don't know if this is it but it is always better to use quotes:

if ( '$usrnm' == '$cmdnm' ) then ...

in case one var gets expanded into something wierd (with spaces etc.)

HTH
1,578
Posted By marquis
Mount the HD as secondary on another machine with...
Mount the HD as secondary on another machine with fedora core and copy
all said lib* files.

Or: make a second Fedora core install on another partition and copy all said lib* files.

Or: make a...
5,550
Posted By marquis
coreutils
well the exact answer is in coreutils/src/join.c ...

http://ftp.gnu.org/pub/gnu/coreutils/

HTH
Forum: Cybersecurity 05-03-2005
3,185
Posted By marquis
listen to specific IP
try modify

listen xx.xx.xx.xx

in httpd.conf

and bind it to the local adress, not to the interface opened by the modem connection. So your provider won't see it.

HTH
Samuel
Forum: Programming 05-02-2005
2,746
Posted By marquis
This depends on a lot of things like...
This depends on a lot of things like architecture, compiler, options, etc.

What architecture are you on ?

Version 1 --- string1 and string2 declared as Global variables
The output is :-- (as...
Forum: Programming 04-27-2005
6,763
Posted By marquis
gcc, g++
use g++ instead of gcc.
Forum: Programming 04-14-2005
2
4,186
Posted By marquis
thanks you !
thanks you !
Forum: Programming 04-13-2005
2
4,186
Posted By marquis
stdin
hi,
how does a program know whether some data are available from stdin?
I would like to make a program which could read its data from stdin
and _if_there_is_nothing_at_stdin_ from a file which...
Forum: Programming 01-27-2004
10,541
Posted By marquis
Thanks, it works now... And as I reread the...
Thanks, it works now... And as I reread the manpage, I see it was stated there...
Forum: Programming 01-26-2004
10,541
Posted By marquis
mmap & msync
I really can't understand why this programm doesn't work (on linux); it open mapped memory, changes one byte and write back to disk:

#include <sys/mman.h>
#include <sys/types.h>
#include...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 09:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy