英文字典中文字典Word104.com



中文字典辭典   英文字典 a   b   c   d   e   f   g   h   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z   







請輸入英文單字,中文詞皆可:

shebang    
n. 事情,工作,陋屋,住所

事情,工作,陋屋,住所

shebang
n 1: an entire system; used in the phrase `the whole shebang'

Shebang \She*bang"\, n. [Cf. {Shebeen}.]
1. A jocosely depreciative name for a dwelling or shop; a
primitive dwelling; a shanty. [Slang, U.S.]
[1913 Webster]

2. The structure of an object, process, organization, or
anything viewed as complicated; -- used primarily in the
phrase

{the whole shebang}; as, it comes with unnecessary frills,
but you have to buy the whole shebang. [informal]
[PJC]

3. (computers) [Possibly derived from shell bang; the
character ! is referred to in some computer contexts as
bang.] The character sequence #!, which frequently begins
shell scripts in a Unix system.
[PJC]

(Or "shebang line", "{bang path}")
/sh*-bang'/ (From "{sharp}" and "{bang}") The {magic cookie}
"#!" used in {Unix} to mark the start of a {script}, e.g. a
{shell script} or {Perl script}.

Under {Unix}, if the first two bytes of an {executable} file
are "#!", the {kernel} treats the file as a script rather than
a {machine code} program. The word following the "!" (i.e.,
everything up to the first {whitespace}) is used as the
{pathname} of the {interpreter}. For example, if the first
line of an executable is

#!/usr/local/bin/perl

the script will be treated as a {Perl} script and passed as an
argument to /usr/local/bin/perl to be interpreted. Some
variants of Unix also allow one or more parameters to be
passed to the interpreter, for example, you can write

#!/usr/bin/perl -w

and the script will be started as if you typed

/usr/bin/perl -w

on the command line. Also, most modern kernels ignore any
whitespace between the "!" and the interpreter pathname. Even
some modern kernels have fairly small limits (e.g. 32) on the
length of line they will accept, making long pathnames and
arguments somewhat unportable.

[Does anyone call this a "magic string"?]

(1998-05-06)

請選擇你想看的字典辭典:
單詞字典翻譯
Shebang查看 Shebang 在Google字典中的解釋Google英翻中〔查看〕
Shebang查看 Shebang 在Yahoo字典中的解釋Yahoo英翻中〔查看〕





安裝中文字典英文字典查詢工具!


中文字典英文字典工具:
選擇顏色:
輸入中英文單字

































































英文字典中文字典相關資料:
  • What is the preferred Bash shebang (#!)? - Stack Overflow
    Using a shebang line to invoke the appropriate interpreter is not just for BASH You can use the shebang for any interpreted language on your system such as Perl, Python, PHP (CLI) and many others
  • shell - How does the #! shebang work? - Stack Overflow
    The #! magic, details about the shebang hash-bang mechanism on various Unix flavours Wikipedia: Shebang The unix kernel's program loader is responsible for doing this When exec() is called, it asks the kernel to load the program from the file at its argument It will then check the first 16 bits of the file to see what executable format it has
  • Why is shebang called shebang? - Unix Linux Stack Exchange
    The name shebang for the distinctive two characters comes from an inexact contraction of SHArp bang or haSH bang, referring to the two typical Unix names for them Another theory on the sh in shebang is that it is from the default shell sh, usually invoked with shebang [18] [19] This usage was current by December 1987, [20] and probably earlier
  • python - Purpose of #! usr bin python3 shebang - Stack Overflow
    To allow shebang lines in Python scripts to be portable between Unix and Windows, the launcher supports a number of ‘virtual’ commands to specify which interpreter to use The supported virtual commands are: usr bin env python The usr bin env form of shebang line has one further special property
  • shell - Should I put #! (shebang) in Python scripts, and what form . . .
    The shebang line in any script determines the script's ability to be executed like a standalone executable without typing python beforehand in the terminal or when double clicking it in a file manager (when configured properly)
  • shebang - Why is #! usr bin env bash superior to #! bin bash? - Stack . . .
    In addition to @zigg's answer, env may not be located at usr bin Shebang comments are altogether a bad idea IMHO If your default script interpreter doesn't handle shebang comments, it is just a comment However, if you know the script interpreter can handle shebang comments, and you know the path to bash, there is no reason not to invoke it using its absolute path unless the path is too
  • Multiple arguments in shebang - Unix Linux Stack Exchange
    On Linux, the shebang isn't very flexible; according to multiple answers (Stephen Kitt's answer and Jörg W Mittag's), there is no designated way to pass multiple arguments in a shebang line
  • Shebang Notation: Python Scripts on Windows and Linux?
    Edit: The shebang support on Windows is provided Cygwin, but I want to use the native Windows Python interpreter on Windows, not the Cygwin one Edit # 2: It appears that shebang notation overrides file associations in Cygwin terminals I guess I could just uninstall Cygwin Python and symlink usr bin python to Windows-native Python
  • What shebang to use for Python scripts run under a pyenv virtualenv
    By calling out the virtual environment's python directly in the shebang, I don't need to first setup a matching virtual environment shell and then call that environment's default python It doesn't need to activate any virtualenv at all in the parent process
  • Is space allowed between #! (shebang) and bin bash?
    Is a space or more allowed between #! (shebang) and the interpreter? For example, #! bin bash It seems to work, but some said that it is incorrect





中文字典-英文字典  2005-2009

|中文姓名英譯,姓名翻譯 |简体中文英文字典