[PLUG] source code of echo command...

श्रीधर नारायण दैठणकर ghodechhap at ghodechhap.net
Sat Jul 28 15:59:11 IST 2007


On Saturday 28 July 2007 15:24, sudhanwa Jogalekar wrote:
> I dont think so.
> try echo * and see the results.
> According to you, it should give  *. Actually it gives a list of files
> in the "pwd".

Both of you are correct. The * expansion is performed by the shell. So the 
arguments of program are the list of files in the current directory. And yes, 
it is still printing the program arguments.. :)

 Shridhar




More information about the Plug-mail mailing list