Hi everyone,
I've just bought a sun ultra 60 and am a bit of a unix newbie, so bear with me here! I've just completed a fresh install of Solaris 9 and everything was going well until the machine rebooted. When the system is coming up, it prints the followinf message on-screen:
The X-server... (7 Replies)
hey programmers!
1-why won't gcc accept as an argument? i tried the recommendations on the man page of getch(),..etc. nothing worked.
2-why it won't see <iostream> && <fstream> even if i implemented the function as follow
std::cout<<"..etc"<<endl;
3-after i type this code in it gives... (6 Replies)
I have a script in a directory -say users/me/test/
It looks like this:
# "bkup" - copies specified files to the user's ~/Backup
# directory after checking for name conflicts.
a=$(date +%T)
cp $1 ~/test/Backup/$1.$a
It copies file.txt from current directory and timestamps the name of it of... (4 Replies)
I'm trying to figure out why this if statement won't work:
if || $zipcount != 6 ]]
then
echo ${myline}
echo "ZIPCODE WARNING! ${zipcode} ${zipcount}"
fi
if ]]
then
echo ${myline}
echo "STATE WARNING!... (3 Replies)
Hi All,
can anybody tell me what's wrong with this code?
# SEARCH replaced by REPLACE
#!/bin/bash
SEARCH="95$$ 0 t"
REPLACE="95$$ 1 t"
for I in `ls *000.inp | cut -c-12`;
do
echo $I
sed 's/$SEARCH/$REPLACE/' ${I}-000.inp > ${I}-100.inp
done
It don't replace the string... (5 Replies)
I typed:
echo "echo hi > at_log.txt" | at now +1minute
to test the at command on my terminal. I got the message:
job 8 at Thu Feb 25 18:42:00 2010
I waited for a minute but nothing happened. I tried listing at_log.txt, but it said there was no such file. Am I doing something... (2 Replies)
I just installed a fork of opensolaris, and I really like it.
I would hate going back to Ubuntu, But one issue, I cannot get my Dell Wireless 1450 Wireless USB Adapter working.
On Ubuntu 10.4 I just installed nonfree firmware, but I guess it doesn't work that way on Solaris, any help would be... (5 Replies)
Hi! I'm sure that somebody here installed freeBSD from a download of a virtual disc (.iso). But I made 5 downloads of 5 differents freeBSD installation (and no one has worked).Can somebody tell me where to download and how (if needed) to prepare the cd? (8 Replies)
Hello,
Images won't work on UNIX when I try posting them on my website I'm working on. It doesn't show the image, and it's simply erroring.
Help! Thanks! (5 Replies)
Hi guys
I'm running on debian on a small embedded system. I have a ppp interface that is connected to the internet (and works). My unit also has wifi access point (which works and I can connect to it).
I want to allow connections to the wifi to be able to use the internet from ppp0... (1 Reply)
Discussion started by: alirezan1
1 Replies
LEARN ABOUT DEBIAN
debian::javahelper::java
Debian::Javahelper::Java(3) Javahelper Debian::Javahelper::Java(3)NAME
Debian::Javahelper::Java - Javahelper core library.
SYNOPSIS
use Debian::Javahelper::Java;
my @paths = scan_javadoc("/usr/share/doc/libfreemarker-doc/api/");
print "Freemarker is linked to the following APIs:
- ",
join("
- ", @paths), "
";
my @packnames = find_package_for_existing_files("/bin/ls",
"/bin/bash");
print "/bin/ls and /bin/bash are installed via: ",
join(", ", @packnames), "
";
DESCRIPTION
This module is used by various javahelpers to share common code.
Please note this API is not stable and backwards compatibility is not guaranteed at the current time. Please contact the maintainers if you
are interested in a stable API.
Methods
scan_javadoc($path)
Scans the javadoc at $path and returns a list of javadocs it is linked to on the system.
Currently it ignores all javadocs linked via other locations than /usr/share/doc and it also makes an assumption that the linked
javadoc is in /usr/share/doc/<package>/<dir-or-symlink>. Of course, all Java Policy compliant packages provide their javadoc from
there.
If /usr/share/doc/<package>/<dir-or-symlink> appears to be a symlink, then it is followed (except for default-jdk-doc).
find_package_for_existing_files(@files)
Consults dpkg(1) to see which packages provides @files and returns this list. All entries in @files must exists (but is not required to
be files) and should not be used on a directory.
Furthermore all entries must be given with absolute path.
parse_manifest_fd($fd, $filename)
Parses a manifest from $fd, which must be a readable filehandle, and returns a Debian::Javahelper::Manifest.
$filename is only used to report parsing errors and should be something that identifies the source of $fd.
write_manifest_fd($manifest, $fd, $filename)
Writes $manifest to the writable filehandle $fd. $manifest must be a Debian::Javahelper::Manifest.
$filename is only used to report errors and should be something that identifies $fd.
write_manifest_section_fd($section, $fd, $filename)
Writes $section to the writable filehandle $fd. $section must be a Debian::Javahelper::ManifestSection.
$filename is only used to report errors and should be something that identifies $fd.
NB: Helper - Not exported.
slurp_file($file)
Reads all lines in $file and returns them as a list.
NB: Helper - Not exported.
SEE ALSO Debian::Javahelper::Manifest(3)Debian::Javahelper::ManifestSection(3)AUTHOR
Niels Thykier <niels@thykier.net>
COPYRIGHT AND LICENSE
Copyright 2010 by Niels Thykier
This module is free software; you may redistribute it and/or modify it under the terms of GNU GPL 2.
0.43 2012-01-10 Debian::Javahelper::Java(3)