Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: WIntellect
Forum: BSD 06-18-2004
4,705
Posted By WIntellect
I understand your request, so I'll just say this:...
I understand your request, so I'll just say this:

The 4.X series has proven to be extreemly stable!

The 5.X series has lots of new developments and changes!

4.X will *eventually* cease with...
1,363
Posted By WIntellect
Re: FreeBSD 5.1 update?
Start by reading the infamous FreeBSD handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

Then you can read the relevant section:...
Forum: Linux 09-09-2003
75,737
Posted By WIntellect
man date
man date
2,942
Posted By WIntellect
You could have a look at CUPS to see if it fits...
You could have a look at CUPS to see if it fits your needs:

http://www.cups.org
7,068
Posted By WIntellect
mount the cd then cp <location/of/file>...
mount the cd then

cp <location/of/file> <destination/of/file>
3,280
Posted By WIntellect
You didn't state whih version of UNIX you are...
You didn't state whih version of UNIX you are using, however - CUPS may be a potential solution for you. It supports a lot of HP printers "perfectly" - simply try www.linuxprinting.org and check...
1,868
Posted By WIntellect
I believe the new version 5.1 already has partial...
I believe the new version 5.1 already has partial support for the new AMD Opteron 64bit processor
19,412
Posted By WIntellect
You could try something like this: if (-f...
You could try something like this:

if (-f 'c:\\location_to_file\\filename') {
# code necessary
}


you MUST use double "\" (e.g. "\\") to symbolise a single "\" - only 'cos it's on a...
6,451
Posted By WIntellect
Please DO NOT CROSS POST!!!! Your other post...
Please DO NOT CROSS POST!!!!

Your other post was in the right location - namely "Filesystems, Disks and Memory", which can be found here:

https://www.unix.com/showthread.php?s=&threadid=10371
12,299
Posted By WIntellect
And another version by perl: perl -pe "s/...
And another version by perl:

perl -pe "s/ /%/g" < initial.file > output.file
1,821
Posted By WIntellect
"dd" is another
"dd" is another
3,715
Posted By WIntellect
www.FreeBSD.org www.NetBSD.org ...
www.FreeBSD.org
www.NetBSD.org
www.OpenBSD.org

:D
2,777
Posted By WIntellect
Ahhh, a man after my own FreeBSD heart :)
Ahhh,
a man after my own FreeBSD heart :)
9,491
Posted By WIntellect
The man page says: So what is the command...
The man page says:


So what is the command you have been running that has failed?
21,183
Posted By WIntellect
If you want to keep your Perl code similar to the...
If you want to keep your Perl code similar to the original, I believe you can do things like the above, in this way:
1,885
Posted By WIntellect
One way to do it in Perl
I'm more of a Perl man, so here it is in perl:

#!/usr/bin/perl -w

while ($c = <>) {
#Process $c here!!!
}

exit 0;


put the above code in a file called something like...
5,239
Posted By WIntellect
Perl CGI to access / edit "root" owned config files
I am trying to write a CGI program which accesses UNIX configuration files and changes them as required.

The thing is, I don't want the CGI program to be "root" owned - it's Perl based! Is there...
3,315
Posted By WIntellect
Here's a rough and ready version; as always,...
Here's a rough and ready version; as always, check that the location of your perl program is correct after the "#!" :

#!/usr/bin/perl -w

while ( <> ) {
if ( m/blocking/i | m/deny/i ) {
...
2,055
Posted By WIntellect
Perhaps you could have ago at writing your own,...
Perhaps you could have ago at writing your own, then we could all help you when you with your struggling points.

It's not that I'm not helpful, but I'd rather see a little effort on your part....
10,884
Posted By WIntellect
Seeing as you're on a windows box, you're...
Seeing as you're on a windows box, you're probably using Outlook / Outlook Express for Email?

You should be able to find out from there, under the accounts menu, in the properties is a field...
65,389
Posted By WIntellect
For a bit of fun (mine) the "perl" version is...
For a bit of fun (mine) the "perl" version is VERY similar to the sed version:

perl -pe 's/,//g;' < some_file > TMP_00
10,884
Posted By WIntellect
From what I've read, I think this was the...
From what I've read, I think this was the problem:


I think oombera gave you the correction with this suggestion:


Failing this, I would also recommend adding a backslash "\" to each email...
10,884
Posted By WIntellect
OK - here we go. The details you require are in...
OK - here we go. The details you require are in the array @pingDetails. It's possibly a bit crude, but it does work!

#!/perl/bin/perl -w

#use strict;
use Net::SMTP;

# get list of ip's to...
10,884
Posted By WIntellect
The answer you needed:
perleo,

without giving you the WHOLE answer, the following code will ping each IP address in the requested file and store the results in the array @results :)

#!/perl/bin/perl -w

use...
185,696
Posted By WIntellect
The function "defined" may also achieve what you...
The function "defined" may also achieve what you require; check the usual perldoc for details.

:)
Showing results 1 to 25 of 168

 

Featured Tech Videos

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