2 simple shell related questions



Newbie alert!

Hello everyone :) . I have two simple questions regarding shell
variables. I tried looking for the answers on the net but couldn't
find an exact match.

Q1: what does $^ represent
Q2: what does $@ represent

I saw both in a makefile and searched the GNU make document which has
references to these symbols but does not explain clearly what they
stand for (or maybe I didn't get it!) . I searched on google too but
came up with not so clear results.

From what I know $ is used to get the value of a shell var, and so ^
or @ must stand for something like a special-var.

I know what $#, $0/1/2... and $* are used for but can't get an idea
about these two :)

Thanks for your time,
-A

.



Relevant Pages

  • Re: How do you know what and where bash expects to find config files?
    ... It was how do you know, when you look at a bash environment, ... Google will tell you, or you do something very clever with ktrace I don't ... Putting the command in .bashrc didn't work if I use Terminal. ... Terminal is opening a login shell, whereas X windows would be interactive? ...
    (uk.comp.sys.mac)
  • Re: Clams before Columbus
    ... criticized the absence of references for certain claims. ... the claims concerned clams. ... I asked "Where are the clams from ... ONE shell found in a sand dune, ...
    (sci.archaeology)
  • RE: convert .cshrc to .bashrc
    ... +> I'm almost new to freebsd about a few month now. ... +> some while to learn how to customize my .cshrc file. ... circumstances - there's no way I'd change my shell, ... If I was forced into a change I'd google my face off for a week or two ...
    (freebsd-questions)
  • Re: Terminal
    ... So I'm leeching off the interwebs. ... available in Google for the next person with the same problem. ... The most commonly used shell, the default in Ubuntu, is called 'bash' ...
    (Ubuntu)
  • Re: How do you know what and where bash expects to find config files?
    ... It was how do you know, when you look at a bash environment, ... > Google will tell you, or you do something very clever with ktrace I don't ... It means run the commands in /my/temporary/file inside the current shell. ...
    (uk.comp.sys.mac)