Search Results

Search: Posts Made By: forquare
Forum: BSD 08-08-2010
7,487
Posted By forquare
Thanks figaro, Wireless shouldn't be a...
Thanks figaro,

Wireless shouldn't be a problem, all of my networking is done through an on-board gigabit NIC and and a quad-gigabit PCI card, and USB shouldn't be a problem either, if I need any...
Forum: BSD 08-07-2010
7,487
Posted By forquare
Thanks agama, Hardware shouldn't be an...
Thanks agama,

Hardware shouldn't be an issue, I'm running a C2D on a fairly generic motherboard and four SATA drives.
Again, Flash shouldn't be a problem either, I generally don't use any GUI...
Forum: BSD 08-07-2010
7,487
Posted By forquare
Jumping from Solaris to BSD?
Hi all,

I currently run an OpenSolaris (b134) server at home for share media between a few computers (all Macs at the moment). I use ZFS to mirror a couple of disks and have a couple of SMF...
Forum: Programming 07-29-2010
2,513
Posted By forquare
Thank pludi, I did not know it was licensed...
Thank pludi,

I did not know it was licensed under the LGPL, I could only see mention of GPL and GNU and thought it was licensed under the full thing...
Forum: Programming 07-29-2010
2,513
Posted By forquare
Non-GNU based Getopts for Java?
Hi all,

I'm looking for a version of Getopts for Java that isn't licensed under the GPL and accepts long options (i.e. both -h and --help).
My code is licensed under BSD and I don't really want...
Forum: OS X (Apple) 07-27-2010
4,119
Posted By forquare
A simple Bash script should do the trick,...
A simple Bash script should do the trick, something like this:
#!/bin/bash

if [[ -d /Volumes/myVolume ]]; then
cp path/to/my/file path/to/volume
fi

Something like iHook...
4,140
Posted By forquare
Here we go: #!/usr/bin/sh IFS=" " ...
Here we go:
#!/usr/bin/sh

IFS="
"

fname=epdb_job

for x in `cat $fname`
do
if [ ! -s $x.epdb.com ]
then
echo Creating file...
cat > $x.epdb.com <<EOF
echo...
25,828
Posted By forquare
SED on OS X is the BSD version (certainly is on...
SED on OS X is the BSD version (certainly is on OS X 10.6.4).

I have found that GNU versions of UNIX utilities often have far more options available to them, the danger is that if you know the...
4,878
Posted By forquare
If you wanted to use Bash instead of Korn (and on...
If you wanted to use Bash instead of Korn (and on some systems sh is Bash), you'll want to define arrays like this:
declare -a entityArray
And use them like this:

${#entityArray
} #Gets number...
1,687
Posted By forquare
Distributing a perl script
Hi all,

I'm new to the world of Perl so may have gone about this in the wrong way (my background is mainly Java and Bash).

I have a Perl script (gallery.pl) which takes in various arguments...
Showing results 1 to 10 of 10

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