英文字典中文字典


英文字典中文字典51ZiDian.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 在百度字典中的解释百度英翻中〔查看〕
Shebang查看 Shebang 在Google字典中的解释Google英翻中〔查看〕
Shebang查看 Shebang 在Yahoo字典中的解释Yahoo英翻中〔查看〕





安装中文字典英文字典查询工具!


中文字典英文字典工具:
选择颜色:
输入中英文单字

































































英文字典中文字典相关资料:


  • What is the preferred Bash shebang (#!)? - Stack Overflow
    38 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 By the way, the shebang #! bin sh - (it can also be two dashes, i e --) ends bash options everything after will be treated as filenames and
  • shell - How does the #! shebang work? - Stack Overflow
    Short story: The shebang (#!) line is read by the shell (e g sh, bash, etc ) the operating system's program loader While it formally looks like a comment, the fact that it's the very first two bytes of a file marks the whole file as a text file and as a script
  • 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
  • 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)
  • 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
  • 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
  • Why does the she-bang begin with a - Unix Linux Stack Exchange
    Typically shebang refers to just the #! (! is typically called "bang", and it looks like "she" is a corruption of either "SHArp" or "haSH" for #) -- the whole line is called a shebang line It does intentionally start with a comment character for backwards-compatibility with things that don't know how to handle it; the ! is presumably just to distinguish it from a random comment starting the
  • 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
  • Is space allowed between #! and bin bash in shebang?
    In a shebang, is a space or more allowed between #! and the interpreter? For example, #! bin bash It seems work, but some said that it is incorrect





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