[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Alias definition [Was: Re: how to configure gcc]



On Thu, Sep 30, 2010 at 08:41:46AM +0000, Liam O'Toole wrote:
> On 2010-09-29, David Jardine <david@jardine.de> wrote:
> > [...]
> > You could add 
> >
> > alias gcc='gcc -lm ' (note the last space)
> 
> What's the significance of the last space?
> 
> >

This, as far as I remember, allows the user to continue the command on 
the command line.

> > to /etc/profile
> 
> <nitpick>
> I would put the alias definition in /etc/bash.bashrc or ~/.bashrc
> instead. It's a shell customisation, not an environment modification.
> </nitpick>
> 

I'm sure you're right. :)

Cheers,
David


Reply to: