Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: cbkihong
20,211
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,211
Posted By cbkihong
$, = "\n"; print split(/([-+*])/,...
$, = "\n";
print split(/([-+*])/, "foo1+foo22-blah*blah(var)+fooA(var)")';



foo1
+
foo22
-
blah
*
blah(var)
+
fooA(var)
9,355
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...
75,363
Posted By cbkihong
This page describes them all: ...
This page describes them all:

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

@join_array = (@array1, @array2);
7,552
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...
102,740
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,000
Posted By cbkihong
Probably. What about just diff -r dir1 dir2 ...
Probably. What about just

diff -r dir1 dir2

?
43,620
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
6,861
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

 

Featured Tech Videos

All times are GMT -4. The time now is 03:34 AM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy