Re: Choosing the path based on the system "uname" command
doni wrote:
Hi,
I want to write a program that does check the appropriate system path
for perl in FreeBSD and Linux.
The path where I have it in FreeBSD is
#! /usr/local/bin/perl
and the path where it is in Linux is
#! /usr/bin/perl
I wanted the program to check for the uname of the system and choose
the appropriate path. Can anyone tell me how can I have my program
check this.
Easier to use a symlink or on your Freebsd box (it's probably on your
Linux box also), run 'use.perl port', then /usr/bin/perl will work
on both.
.
Relevant Pages
- Re: FreeBSD 4.x Opteron Question
... the FreeBSD developers told everyone that 5.3 was da ... initially over linux not because there's a bunch of good guys on the ... My tests measure kernel performance; ... > a networking device is a key performance indicator. ... (freebsd-questions) - Re: Newbie Experience
... I've only been around since FreeBSD 5.4 ... FreeBSD kernel too. ... always sunshine and linux is farts. ... in the hey day of AT&T Unix I'm ... (freebsd-questions) - Re: Review of FreeBSD 5.4
... but not less problems compared to FreeBSD. ... If you like to have a bleeding edge system using debian --- just go ... > the linux kernel suffers. ... When the kernel suffers, everyone who uses ... (comp.unix.bsd.freebsd.misc) - Re: FreeBSD & Linux distro
... as a FreeBSD advocacy the tone of the article should be neutral and all ... do not like Linux and more over I have never used it in my life but I ... Statement of the type BSD appears more stable than Linux is ... fewer FreeBSD advocates make claims like that, however, is part of the ... (freebsd-questions) - Re: Compare Linux and Freebsd Redux
... >> Perhaps the most unsettling 'misinformation' about the FreeBSD vs. ... >> Linux situation was the spin that Linux was somehow more 'open', ... >> the official Linux tree... ... your own distribution is that the FreeBSD distribution is/was already ... (comp.unix.bsd.freebsd.misc) |
|