I understand uname will do the job but I am not sure what and how to grep from the uname's output and i am not sure about the various ps command formats for various OSs.
I've tried installing Linux (SuSE because it's the easiest disc I had on hand) and Windows, and neither can boot. The specific problems are below.
With Linux: During the installation, I get error message on most of the packages, even though I left all of them up to the default, and it sais... (3 Replies)
Which is much more powerful as an operating system:
1. Windows 2000
2. Windows 98
3. Windows XP
4. Windows ME
5. Unix
6. Linux
and why is it much more powerful than the other operating systems that i have mentioned.
thanks for your info... (1 Reply)
Hey all, I currently use FreeBSD and linux and have decided I want to use a proper Unix distrobution. Which Unix distro would you members recommend. The only requirments that I have is that I can use some pogramming utilities available. I don't mind the install process. One more thing, I know some... (2 Replies)
Would any of your gentlemen have come across a decent reference for the FOS in your wanderings? Brocade just seems to want to sell me classes and FAN books :/ (0 Replies)
Write a C program that accepts 3 parameters. Each parameter indicates the quantity of product to be
produced. Each product will be produced in different production line. Ready products will be placed
in a buffer area located at the end of each production line. Packaging workers will pack the... (1 Reply)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a C program that accepts 3 parameters. Each parameter indicates the quantity of product to be
produced.... (1 Reply)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a C program that accepts 3 parameters. Each parameter indicates the quantity of product to be
produced.... (0 Replies)
Hello All,
I want to install Linux on my machine, so please tell me one thing which is the best to install-
1.)Red Hat
2.)Cent OS
3.)Red Hat
4.)Ubuntu
5.)Fedora
except that if there is any please tell me. (1 Reply)
Can we know the operating given the IP address or DNS of the host.
All I have is
file://myserver/myapp (4 Replies)
Discussion started by: mohtashims
4 Replies
LEARN ABOUT MOJAVE
encode::detect::detector
Encode::Detect::Detector(3) User Contributed Perl Documentation Encode::Detect::Detector(3)NAME
Encode::Detect::Detector - Detects the encoding of data
SYNOPSIS
use Encode::Detect::Detector;
my $charset = detect($octets);
my $d = new Encode::Detect::Detector;
$d->handle($octets);
$d->handle($more_octets);
$d->end;
my $charset = $d->getresult;
DESCRIPTION
This module provides an interface to Mozilla's universal charset detector, which detects the charset used to encode data.
METHODS
$charset = Encode::Detect::Detector->detect($octets)
Detect the charset used to encode the data in $octets and return the charset's name. Returns undef if the charset cannot be determined
with sufficient confidence.
$d = Encode::Detect::Detector->new()
Creates a new "Encode::Detect::Detector" object and returns it.
$d->handle($octets)
Provides an additional chunk of data to be examined by the detector. May be called multiple times.
Returns zero on success, nonzero if a memory allocation failed.
$d->eof
Informs the detector that there is no more data to be examined. In many cases, this is necessary in order for the detector to make a
decision on the charset.
$d->reset
Resets the detector to its initial state.
$d->getresult
Returns the name of the detected charset or "undef" if no charset has (yet) been decided upon. May be called at any time.
SEE ALSO
Encode::Detect
AUTHOR
John Gardiner Myers <jgmyers@proofpoint.com>
SUPPORT
For help and thank you notes, e-mail the author directly. To report a bug, submit a patch, or add to the wishlist please visit the CPAN
bug manager at: http://rt.cpan.org
perl v5.18.2 2017-10-06 Encode::Detect::Detector(3)