lkml.org 
[lkml]   [2010]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Hi all, bug or design flaw?
From
On Fri, Jan 22, 2010 at 10:00 AM, Shu Wu <superwushu@gmail.com> wrote:
> Hey, buddy, this is not the right place to raise a user-space
> question. But as for your question, you'd better to learn what the "."
> means. "#!/bin/bash" is used to indicate in shell when executed, while
> to be just a comment in the latter.
>

"." equals to "source", which means sourcing a file, it is the shell
which he is using does this, which is always available by executing
"echo $0" from command line. Yes, shebang is used when executing.


\
 
 \ /
  Last update: 2010-01-22 03:27    [W:0.060 / U:1.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site