Re: .profile not being read

2013-02-20 Thread Brandon McCaig
On Tue, Feb 19, 2013 at 07:29:49PM -0600, Gerard Walschap wrote: > I see. There is a .bashrc file in my home directory with the > line > - > source /Users/gerard/perl5/perlbrew/etc/bashrc > - > So I guess installing perl did override my .profile, although > I'm n

Re: .profile not being read

2013-02-20 Thread rjc
On Wed, Feb 20, 2013 at 10:12:47AM GMT, James Griffin wrote: > Whilst that is correct, for a beginners list I'd recommend using the > OS's package management system to install perl, should it not already > be installed; which on most systems, especially UNIX systems, is the > case. And since this,

Re: .profile not being read

2013-02-20 Thread James Griffin
- Brian Fraser [2013-02-20 07:01:35 -0300] - : > On Tue, Feb 19, 2013 at 10:29 PM, Gerard Walschap wrote: > > I see. There is a .bashrc file in my home directory with the line > > - > > source /Users/gerard/perl5/perlbrew/etc/bashrc > > - > > So I guess in

Re: .profile not being read

2013-02-20 Thread Brian Fraser
On Tue, Feb 19, 2013 at 10:29 PM, Gerard Walschap wrote: > I see. There is a .bashrc file in my home directory with the line > - > source /Users/gerard/perl5/perlbrew/etc/bashrc > - > So I guess installing perl did override my .profile, although I'm not sure > how.

Re: .profile not being read

2013-02-20 Thread Luca Ferrari
This is becoming a bit too long and somewhat not related to Perl (at least in my opinion). Quick and dirt suggesion: link .bash_profile to .profile to see if it solves the problem, and that means that the Bash is reading one file instead of the other. If that works, remove the other file (see below

Re: .profile not being read

2013-02-19 Thread rjc
On Wed, Feb 20, 2013 at 01:29:49AM GMT, Gerard Walschap wrote: > I see. There is a .bashrc file in my home directory with the line > - > source /Users/gerard/perl5/perlbrew/etc/bashrc > - > So I guess installing perl did override my .profile, although I'm not > sure ho

Re: .profile not being read

2013-02-19 Thread Gerard Walschap
I see. There is a .bashrc file in my home directory with the line - source /Users/gerard/perl5/perlbrew/etc/bashrc - So I guess installing perl did override my .profile, although I'm not sure how. The "source" man page redirects to "built in". I'm not quite happy w

Re: .profile not being read

2013-02-19 Thread James Griffin
- Gerard Walschap [2013-02-18 19:16:22 -0600] - : > Thanks to all. I guess I misunderstood the first post regarding > .bash.profile. Just to make sure I understand, are you saying I should try > replacing the .profile with .bash_profile? The shell is bash by default. > > -G

Re: .profile not being read

2013-02-19 Thread Jim Gibson
I recommend putting the following line at the top of your .bash_profile file: echo Executing .bash_profile and see what happens when you log in. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: .profile not being read

2013-02-19 Thread rjc
On Tue, Feb 19, 2013 at 02:43:12PM GMT, William Muriithi wrote: > That's correct. Bash use .bash_profile for user specific changes and > /etc/profile for system wide configurations Hi William, That's not entirely accurate - under certain circumstances Bash does indeed read $HOME/.profile. When i

Re: .profile not being read

2013-02-19 Thread William Muriithi
Gerard, > Thanks to all. I guess I misunderstood the first post regarding .bash.profile. Just to make sure I understand, are you saying I should try replacing the .profile with .bash_profile? The shell is bash by default. > That's correct. Bash use .bash_profile for user specific changes an

Re: .profile not being read

2013-02-18 Thread Owen
> Thanks to all. I guess I misunderstood the first post regarding > .bash.profile. Just to make sure I understand, are you saying I > should try replacing the .profile with .bash_profile? The shell is > bash by default. > > -Gerard I have lost track of this, but if on a *nix system

Re: .profile not being read

2013-02-18 Thread Gerard Walschap
Thanks to all. I guess I misunderstood the first post regarding .bash.profile. Just to make sure I understand, are you saying I should try replacing the .profile with .bash_profile? The shell is bash by default. -Gerard On Feb 18, 2013, at 1:50 AM, Hal Wigoda wrote: > I said th

Re: .profile not being read

2013-02-17 Thread Hal Wigoda
I said that long time ago. On Mon, Feb 18, 2013 at 1:40 AM, Paul Anderson wrote: > Odds are good that the original poster needs to use .bash_profile instead. > > Sent from my iPhone > > On 2013-02-18, at 2:24 AM, Luca Ferrari wrote: > >> I suspect this has something to do with the PATH variable

Re: .profile not being read

2013-02-17 Thread Paul Anderson
Odds are good that the original poster needs to use .bash_profile instead. Sent from my iPhone On 2013-02-18, at 2:24 AM, Luca Ferrari wrote: > I suspect this has something to do with the PATH variable and alike. > And it could have been set up at system wide level, for instance on > /etc/prof

Re: .profile not being read

2013-02-17 Thread Luca Ferrari
I suspect this has something to do with the PATH variable and alike. And it could have been set up at system wide level, for instance on /etc/profile. Luca -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: .profile not being read

2013-02-16 Thread Gerard Walschap
> > From: Nathan Hilterbrand > Subject: Re: .profile not being read > Date: February 14, 2013 11:47:52 AM CST > To: beginners@perl.org > > > On 02/14/2013 11:53 AM, Hal Wigoda wrote: >> The MAC OSX uses the bash profile .bash-profile >> >> On Thu,

Re: .profile not being read

2013-02-14 Thread Nathan Hilterbrand
On 02/14/2013 11:53 AM, Hal Wigoda wrote: The MAC OSX uses the bash profile .bash-profile On Thu, Feb 14, 2013 at 9:14 AM, Lawrence Statton wrote: On 02/14/2013 08:47 AM, Gerard Walschap wrote: I just installed perl on my Mac following the instructions on the perl.org website. It see

Re: .profile not being read

2013-02-14 Thread Hal Wigoda
The MAC OSX uses the bash profile .bash-profile On Thu, Feb 14, 2013 at 9:14 AM, Lawrence Statton wrote: > On 02/14/2013 08:47 AM, Gerard Walschap wrote: >> >> I just installed perl on my Mac following the instructions on the >> perl.org website. It seems to work, as "perl -v" returns "Th

Re: .profile not being read

2013-02-14 Thread Lawrence Statton
On 02/14/2013 08:47 AM, Gerard Walschap wrote: I just installed perl on my Mac following the instructions on the perl.org website. It seems to work, as "perl -v" returns "This is perl 5, version 16, subversion 0 (v5.16.0) built for darwin-2level..." The thing is that the comman

.profile not being read

2013-02-14 Thread Gerard Walschap
I just installed perl on my Mac following the instructions on the perl.org website. It seems to work, as "perl -v" returns "This is perl 5, version 16, subversion 0 (v5.16.0) built for darwin-2level..." The thing is that the commands in my .profile file are no longer being execu