Search Results

Search: Posts Made By: cbkihong
20,586
Posted By cbkihong
Did you really run my example? If you did, you...
Did you really run my example? If you did, you should find that the separators are in the array returned, and the output array is exactly what you indicated in your post. Verify it.
20,586
Posted By cbkihong
$, = "\n"; print split(/([-+*])/,...
$, = "\n";
print split(/([-+*])/, "foo1+foo22-blah*blah(var)+fooA(var)")';



foo1
+
foo22
-
blah
*
blah(var)
+
fooA(var)
10,010
Posted By cbkihong
This is the oldest I can find: ...
This is the oldest I can find:
http://www.kernel.org/pub/linux/kernel/Historic/

Most Windows text editors except notepad today can read unix-eol files. Try www.anyedit.org.

Linux kernel...
81,159
Posted By cbkihong
This page describes them all: ...
This page describes them all:

http://www.pathname.com/fhs/pub/fhs-2.3.html
33,860
Posted By cbkihong
Or even more simply, @join_array =...
Or even more simply,

@join_array = (@array1, @array2);
8,027
Posted By cbkihong
The bless() function turns a vanilla reference...
The bless() function turns a vanilla reference (that can be virtually any type of reference, although hash reference is used most of the time) into an object. Without bless(), you are not doing...
103,467
Posted By cbkihong
On Linux at least, you should also be able to do...
On Linux at least, you should also be able to do a

netstat -tlnp | grep 8080

as root to check the process that is holding the port open.
66,629
Posted By cbkihong
Probably. What about just diff -r dir1 dir2 ...
Probably. What about just

diff -r dir1 dir2

?
44,216
Posted By cbkihong
First produce a diff of two files, say file1 is...
First produce a diff of two files, say file1 is the old copy, file2 is the newer copy.

diff file1 file2 > delta.diff

Then you can apply the diff to file1 by using the patch command:

patch...
Forum: Programming 10-17-2004
7,741
Posted By cbkihong
The program is not linked to the math library....
The program is not linked to the math library. #include just makes those symbols available for compilation but not linking.

Include "-lm" to the command line.
Showing results 1 to 10 of 10

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